col1-6 not recognized in textmate grammar
As far as I understood a file is first "colored" via a "simple" configuration (textmate grammar), then is re-colored as soon as the LSP kicks in, which also adds semantic tokens.
Given the following sample program:
program-id. test.
procedure division.
*---------------------------------------------------------------*
P050-SEARCH SECTION.
P050-00.
+AM005* special case 1
+AM005 continue.
+AM005*
+AM005 P050-40.
continue.
*
P050-99.
EXIT.
/
the columns 1-6 are only sematic token comments - is this possible to also add for the textmate grammar?
Note: you can see this by inserting it into a file (takes 0,5-2 seconds to switch from textmate to semantic) or by "reload window".
you can disable semantic highlighting with editor.semanticHighlighting.enabled
here's my VSCode extension to help with authoring TextMate grammars https://marketplace.visualstudio.com/items?itemName=RedCMD.tmlanguage-syntax-highlighter