From a1de79e93a7f190ef08b98bb6aef7e41c47fd2ee Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Mon, 19 Oct 2020 10:49:32 +0200 Subject: docs(highlights): document LanguageTree. --- README.md | 1 + doc/nvim-treesitter.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 575fc4161..eae29a25b 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,7 @@ Consistent syntax highlighting. require'nvim-treesitter.configs'.setup { highlight = { enable = true, + use_languagetree = false, -- Use this to enable language injection (this is very unstable) custom_captures = { -- Highlight the @foo.bar capture group with the "Identifier" highlight group. ["foo.bar"] = "Identifier", diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index dee1ff8b7..9e8ef71ae 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -110,6 +110,7 @@ Supported options: require'nvim-treesitter.configs'.setup { highlight = { enable = true, + use_languagetree = false, -- Use this to enable language injection custom_captures = { -- Highlight the @foo.bar capture group with the "Identifier" highlight group. ["foo.bar"] = "Identifier", -- cgit v1.2.3-70-g09d2