diff options
| author | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-09-16 16:36:23 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-09-26 12:24:48 +0200 |
| commit | 5ebc74c1a89fec0b668d312c75adfcaad4c1648f (patch) | |
| tree | b0d01fda4364bc1418e66a2e3de5174522e5b176 | |
| parent | highlights(rust): Fix angle brackets, and closures (diff) | |
| download | nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.tar nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.tar.gz nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.tar.bz2 nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.tar.lz nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.tar.xz nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.tar.zst nvim-treesitter-5ebc74c1a89fec0b668d312c75adfcaad4c1648f.zip | |
highlights(rust): fix bang `!` in macro_invocation
| -rw-r--r-- | queries/rust/highlights.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index 72a5b1e14..4febc256c 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -255,4 +255,5 @@ (attribute_item "#" @punctuation.special) (inner_attribute_item ["#" "!"] @punctuation.special) +(macro_invocation "!" @function.macro) ; don't highlight `!` as an operator here |
