From f3d0bdcf6faec7ce2620aa691cfe6391a01a6d55 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Mon, 5 Jul 2021 12:04:53 -0500 Subject: Docs: document `additional_vim_regex_highlighting` option --- doc/nvim-treesitter.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') 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 Thomas Vigouroux Stephan Seitz @@ -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 <