diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-07-14 01:08:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-13 18:08:57 -0500 |
| commit | 29113e6892a46d4afff41417c0be7122a3b97ae6 (patch) | |
| tree | 48e9a65a931a758845f95a333ce7d06ab7042894 /doc | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.tar nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.tar.gz nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.tar.bz2 nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.tar.lz nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.tar.xz nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.tar.zst nvim-treesitter-29113e6892a46d4afff41417c0be7122a3b97ae6.zip | |
doc: be more explicit about additional_vim_regex_highlighting (#1561)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 68a9f15e4..120831993 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -111,7 +111,7 @@ Supported options: - disable: list of languages. - custom_captures: A map of user defined capture groups to highlight groups. See |nvim-treesitter-query-extensions|. -- additional_vim_regex_highlighting: `true` or `false`, or a dictionary of languages. +- additional_vim_regex_highlighting: `true` or `false`, or a list 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. @@ -126,6 +126,8 @@ Supported options: -- Highlight the @foo.bar capture group with the "Identifier" highlight group. ["foo.bar"] = "Identifier", }, + -- Setting this to true or a list of languages will run `:h syntax` and tree-sitter at the same time. + additional_vim_regex_highlighting = false, }, } EOF |
