Skip to content

Conversation

@pboettch
Copy link

I upgraded my grammar-generation script I use to generate the vim-syntax-highlighting-rules to put out a TextMate-grammer.

The script can be found here: https://github.com/pboettch/vim-cmake-syntax/tree/textmate-grammer-generation

This change might address item #4508

This changes visible behavior

The following changes are proposed:

  • Improved syntax highlighting grammar
  • Fine grained keyword/command
  • Builtin-variables vs user-variables
  • Properties only in property-commands

Other Notes/Information

This is a proposal for discussion. I learnt TextMate-grammar just recently and I'm relatively new to vsCode. There is
a lot of space for improvements. Modules are not at all handled, as an example.

Here is a screenshot of a CMake-Files using the Monokai Dimmed-theme

image image

@pboettch pboettch force-pushed the syntax-highlighting-textmate-proposal branch from dcd59b4 to f195395 Compare July 29, 2025 21:29
@pboettch pboettch force-pushed the syntax-highlighting-textmate-proposal branch 2 times, most recently from 6e9c796 to d55fce6 Compare July 31, 2025 14:32
I upgraded my grammar-generation script I use to
generate the vim-syntax-highlighting-rules to put
out a TextMate-grammer.

The script can be found here: https://github.com/pboettch/vim-cmake-syntax/tree/textmate-grammer-generation
@pboettch pboettch force-pushed the syntax-highlighting-textmate-proposal branch from d55fce6 to 38e87ab Compare July 31, 2025 15:59
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

Successfully merging this pull request may close these issues.

1 participant