I am almost done with a new syntax, but somehow the Definitions/Reference shown when hovering over a scoped symbol are mostly missing or not correct (all files/directories are part of a project and indexing is on):
- it shows definitions for
storage.type.my-syntax
in indexed files of other languages with different file-extensions, e.g. c/c++ - it shows definitions also for keywords with scope e.g.
keyword.conditional.my-syntax
orkeyword.control.my-syntax
(also in other language files) which I would not expect
So the question is whether I am missing something fundamental…?