mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -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 = {
|
||||
enable = true,
|
||||
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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue