aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-03-21 13:36:36 +0100
committerChristian Clason <christian.clason@uni-due.de>2022-03-26 18:36:49 +0100
commitcd4d80217521ae7132378e9c0bb1f78b9d2ebc9a (patch)
tree9fc1a55a8b1f8c985494da4269f2cd2990d437e8 /CONTRIBUTING.md
parentci: lock nix parser (diff)
downloadnvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.tar
nvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.tar.gz
nvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.tar.bz2
nvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.tar.lz
nvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.tar.xz
nvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.tar.zst
nvim-treesitter-cd4d80217521ae7132378e9c0bb1f78b9d2ebc9a.zip
highlights: conceal `"` in JSON
Fixes #645
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 911340135..ea0b3c08f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -150,6 +150,8 @@ effect on highlighting. We will work on improving highlighting in the near futur
@attribute for e.g. Python decorators
```
+@conceal followed by `(#set! conceal "")` for captures that are not used for highlights but only for concealing.
+
#### Variables
```
@@ -190,6 +192,10 @@ Used for xml-like tags
@tag.delimiter
```
+#### Conceal
+
+@conceal followed by `(#set! conceal "")` for captures that are not used for highlights but only for concealing.
+
### Locals
```
@@ -214,6 +220,7 @@ Used for xml-like tags
@constructor
```
+
#### Definition Scope
You can set the scope of a definition by setting the `scope` property on the definition.