I don’t even know what you’re doing. From
I want to make support for a data format based on YAML/JSON
I gathered you’re using an small language, that probably doesn’t have any existing support from anyone, and from
enable searching nodes/objects with specific attributes (one or more, matching string/regexps)
You want a way to find certain patterns. My understanding of LSP is it’s a connection between Atom and the “external programs”, not a parser itself. It just lets the two programs communicate.
So to get it to work, you still need to either 1) adapt an exisitng parser to be compatible, or 2) write the parsing stuff in a way that is compatible with LSP and/or Atom. One possibility I mentioned was
tree-sitter, which lets you write a CFG for the language. You can then apply it to the text, and generate the syntax tree.
linter support dialog boxes with custom buttons. This may be what you want.