mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
Docs: document additional_vim_regex_highlighting option
This commit is contained in:
parent
437e41e9fc
commit
f3d0bdcf6f
1 changed files with 6 additions and 1 deletions
|
|
@ -111,6 +111,11 @@ Supported options:
|
||||||
- disable: list of languages.
|
- disable: list of languages.
|
||||||
- custom_captures: A map of user defined capture groups to highlight groups.
|
- custom_captures: A map of user defined capture groups to highlight groups.
|
||||||
See |nvim-treesitter-query-extensions|.
|
See |nvim-treesitter-query-extensions|.
|
||||||
|
- additional_vim_regex_highlighting: `true` or `false`, or a dictionary of languages.
|
||||||
|
Set this to `true` if you depend on 'syntax' being enabled
|
||||||
|
(like for indentation). Using this option may slow down your editor,
|
||||||
|
and you may see some duplicate highlights.
|
||||||
|
Defaults to `false`.
|
||||||
|
|
||||||
>
|
>
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue