mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
Completely remove condition from documentation
This commit is contained in:
parent
d24a1c63d4
commit
e8bde2fe61
1 changed files with 0 additions and 3 deletions
|
|
@ -84,9 +84,6 @@ if you want to disable the module for some languages you can pass a list to the
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = { "cpp", "lua" },
|
disable = { "cpp", "lua" },
|
||||||
condition = function(lang, bufnr) -- Disable in large C++ buffers
|
|
||||||
return not (lang == "cpp" and api.nvim_buf_line_count(bufnr) > 50000)
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue