-
Notifications
You must be signed in to change notification settings - Fork 165
[CIR] Provide syntax highlighting support of clang ir for vim/nvim users #1854
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
base: main
Are you sure you want to change the base?
Conversation
@AmrDeveloper you might like this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for caring about these things!
LGTM, happy when @AmrDeveloper approves this. Also if you'd like to add some docs to clangir.org it's just one PR away in the gh-pages
branch!
i forgot to add CIR: to highlighting before pushing, will do this later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the syntax file. I have some suggestions, and later we can update the file when we have a new keyword
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks
thanks Amr for the reviews |
Hi there, I'm opening the PR to add syntax highlighting support for vim and neovim users.
The PR borrows a lot from MLIR but also add
Below is the before and after of applying syntax highlighting.
Before:

After:
