mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
docs: add missing vim table in the example
This commit is contained in:
parent
00736412a3
commit
500f58f5ac
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ language and buffer number as arguments:
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = function(lang, bufnr) -- Disable in large C++ buffers
|
disable = function(lang, bufnr) -- Disable in large C++ buffers
|
||||||
return lang == "cpp" and api.nvim_buf_line_count(bufnr) > 50000
|
return lang == "cpp" and vim.api.nvim_buf_line_count(bufnr) > 50000
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue