aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--doc/nvim-treesitter.txt1
2 files changed, 2 insertions, 0 deletions
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",