aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-09-13 15:08:11 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2020-09-19 07:30:49 +0200
commit7e3c4f808940a981a034709163724eb5a7546e2d (patch)
tree9ac40da7363fa5a01a24107b7843f36f9fab4a86 /CONTRIBUTING.md
parentLink to gallery (diff)
downloadnvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.tar
nvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.tar.gz
nvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.tar.bz2
nvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.tar.lz
nvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.tar.xz
nvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.tar.zst
nvim-treesitter-7e3c4f808940a981a034709163724eb5a7546e2d.zip
Add @keyword.operator for operators that are English words and add @exception for Java/JS
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 63613cbf2..b0949fa99 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -131,9 +131,10 @@ are optional and will not have any effect for now.
@conditional
@repeat
@label for C/Lua-like labels
-@operator
@keyword
@keyword.function
+@keyword.operator (for operators that are English words, e.g. `and`, `or`)
+@operator (for symbolic operators, e.g. `+`, `*`)
@exception
@include keywords for including modules (e.g. import/from in Python)