aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-07-05 12:04:53 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-05 19:24:05 +0200
commitf3d0bdcf6faec7ce2620aa691cfe6391a01a6d55 (patch)
tree85ac199a59eec1bc3c91ba3cd60ac68c6c147a4d
parentLuacheck: use config file to exclude files (diff)
downloadnvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.tar
nvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.tar.gz
nvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.tar.bz2
nvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.tar.lz
nvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.tar.xz
nvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.tar.zst
nvim-treesitter-f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55.zip
Docs: document `additional_vim_regex_highlighting` option
-rw-r--r--doc/nvim-treesitter.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index ac764d888..7c7743271 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -4,7 +4,7 @@ Treesitter configurations and abstraction layer for Neovim.
Minimum version of neovim: nightly
-Authors:
+Authors:
Kiyan Yazdani <yazdani.kiyan@protonmail.com>
Thomas Vigouroux <tomvig38@gmail.com>
Stephan Seitz <stephan.seitz@fau.de>
@@ -111,6 +111,11 @@ 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.
+ 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