mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
parent
739fefa8fa
commit
cd4d802175
2 changed files with 9 additions and 0 deletions
|
|
@ -150,6 +150,8 @@ effect on highlighting. We will work on improving highlighting in the near futur
|
||||||
@attribute for e.g. Python decorators
|
@attribute for e.g. Python decorators
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@conceal followed by `(#set! conceal "")` for captures that are not used for highlights but only for concealing.
|
||||||
|
|
||||||
#### Variables
|
#### Variables
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -190,6 +192,10 @@ Used for xml-like tags
|
||||||
@tag.delimiter
|
@tag.delimiter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Conceal
|
||||||
|
|
||||||
|
@conceal followed by `(#set! conceal "")` for captures that are not used for highlights but only for concealing.
|
||||||
|
|
||||||
### Locals
|
### Locals
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -214,6 +220,7 @@ Used for xml-like tags
|
||||||
@constructor
|
@constructor
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### Definition Scope
|
#### Definition Scope
|
||||||
|
|
||||||
You can set the scope of a definition by setting the `scope` property on the definition.
|
You can set the scope of a definition by setting the `scope` property on the definition.
|
||||||
|
|
|
||||||
|
|
@ -12,3 +12,5 @@
|
||||||
"]" @punctuation.bracket
|
"]" @punctuation.bracket
|
||||||
"{" @punctuation.bracket
|
"{" @punctuation.bracket
|
||||||
"}" @punctuation.bracket
|
"}" @punctuation.bracket
|
||||||
|
|
||||||
|
(("\"" @conceal) (#set! conceal ""))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue