docs(highlights): document LanguageTree.

This commit is contained in:
Thomas Vigouroux 2020-10-19 10:49:32 +02:00 committed by Kiyan Yazdani
parent f7d92f663c
commit a1de79e93a
2 changed files with 2 additions and 0 deletions

View file

@ -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",

View file

@ -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",