Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update TextMate grammar based on vim-syntax#4527

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
pboettch wants to merge1 commit intomicrosoft:main
base:main
Choose a base branch
Loading
frompboettch:syntax-highlighting-textmate-proposal

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

imageimage

@pboettchpboettchforce-pushed thesyntax-highlighting-textmate-proposal branch fromdcd59b4 tof195395CompareJuly 29, 2025 21:29
@pboettchpboettchforce-pushed thesyntax-highlighting-textmate-proposal branch 2 times, most recently from6e9c796 tod55fce6CompareJuly 31, 2025 14:32
I upgraded my grammar-generation script I use togenerate the vim-syntax-highlighting-rules to putout a TextMate-grammer.The script can be found here:https://github.com/pboettch/vim-cmake-syntax/tree/textmate-grammer-generation
@pboettchpboettchforce-pushed thesyntax-highlighting-textmate-proposal branch fromd55fce6 to38e87abCompareJuly 31, 2025 15:59
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@pboettch

[8]ページ先頭

©2009-2025 Movatter.jp