aboutsummaryrefslogtreecommitdiffstats
path: root/doc/nvim-treesitter.txt
diff options
context:
space:
mode:
authorpatrick96 <p.ziegler96@gmail.com>2021-11-20 22:32:21 +0100
committerStephan Seitz <stephan.seitz@fau.de>2021-11-28 00:31:02 +0100
commite8bde2fe61461735ed6ef369e6ccbb5edbb07e81 (patch)
treeed41c492ca145bb8e1b7a967d93cc6b05cfcca21 /doc/nvim-treesitter.txt
parentMake disable accept a function (diff)
downloadnvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.tar
nvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.tar.gz
nvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.tar.bz2
nvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.tar.lz
nvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.tar.xz
nvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.tar.zst
nvim-treesitter-e8bde2fe61461735ed6ef369e6ccbb5edbb07e81.zip
Completely remove condition from documentation
Diffstat (limited to 'doc/nvim-treesitter.txt')
-rw-r--r--doc/nvim-treesitter.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index d0f204146..323b8ab25 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -84,9 +84,6 @@ if you want to disable the module for some languages you can pass a list to the
highlight = {
enable = true,
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