diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-02 17:04:36 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-02 17:04:36 +0300 |
| commit | 4347478750efc97104c42f55aea33cb05507c203 (patch) | |
| tree | 7a8a4f8acc22cbf0284a0e10c025c50458c5ecfa | |
| parent | f95f12b2033fcf012a0bf3184b3384df8a7dcde2 (diff) | |
Added highlights for custom keywords in C/C++
| -rw-r--r-- | .config/nvim/queries/c/highlights.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/queries/c/highlights.scm b/.config/nvim/queries/c/highlights.scm new file mode 100644 index 0000000..1f01078 --- /dev/null +++ b/.config/nvim/queries/c/highlights.scm @@ -0,0 +1,10 @@ +; extends +([(identifier) (type_identifier) (true) (false)] @keyword + (#any-of? @keyword "fn" + "u8" "u16" "u32" "u64" + "i8" "i16" "i32" "i64" + "f32" "f64" + "b8" "b32" "b64" + "rune" "usize" "isize" + "true" "false" "null" "void") + (#set! "priority" 200)) |
