mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
highlights(c): add Mircosoft attributes
This commit is contained in:
parent
3aa122edfd
commit
18dc243188
1 changed files with 13 additions and 1 deletions
|
|
@ -170,5 +170,17 @@
|
||||||
(preproc_params
|
(preproc_params
|
||||||
(identifier)) @parameter
|
(identifier)) @parameter
|
||||||
|
|
||||||
"__attribute__" @attribute
|
[
|
||||||
|
"__attribute__"
|
||||||
|
"__cdecl"
|
||||||
|
"__clrcall"
|
||||||
|
"__stdcall"
|
||||||
|
"__fastcall"
|
||||||
|
"__thiscall"
|
||||||
|
"__vectorcall"
|
||||||
|
"_unaligned"
|
||||||
|
"__unaligned"
|
||||||
|
"__declspec"
|
||||||
|
] @attribute
|
||||||
|
|
||||||
(ERROR) @error
|
(ERROR) @error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue