Skip to content

languages: Add attribute highlighting in C#47156

Merged
osiewicz merged 2 commits intozed-industries:mainfrom
ozacod:feat/c-attribute
Jan 23, 2026
Merged

languages: Add attribute highlighting in C#47156
osiewicz merged 2 commits intozed-industries:mainfrom
ozacod:feat/c-attribute

Conversation

@ozacod
Copy link
Contributor

@ozacod ozacod commented Jan 19, 2026

Closes #46125.

Before:
before

After:
after

Release Notes:

  • Updated tree-sitter-c for highlighting attribute specifier in C

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 19, 2026
@maxdeviant maxdeviant changed the title languages: Add attribute highlighting in C #46125 languages: Add attribute highlighting in C Jan 19, 2026
@ozacod
Copy link
Contributor Author

ozacod commented Jan 19, 2026

I am not sure about highlighting brackets for [[noreturn]] or [[gnu::unused]]

@niekdomi
Copy link
Contributor

image

for c++, brackets are not highlighted (though they are in neovim), feel like this should be the same for consistency

@ozacod
Copy link
Contributor Author

ozacod commented Jan 19, 2026

@niekdomi Removed bracket highlighting, this is better, thank you.

after

@osiewicz osiewicz merged commit 30ca3ac into zed-industries:main Jan 23, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants