Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

col1-6 not recognized in textmate grammar #386

Open
GitMensch opened this issue Dec 27, 2024 · 0 comments
Open

col1-6 not recognized in textmate grammar #386

GitMensch opened this issue Dec 27, 2024 · 0 comments

Comments

@GitMensch
Copy link
Contributor

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".

@GitMensch GitMensch changed the title col1-6 not recognized in texstmate grammar col1-6 not recognized in textmate grammar Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant