summaryrefslogtreecommitdiff
path: root/doc
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
parentd24a1c63d4057e858d47e4594c8899cbf1536121 (diff)
Completely remove condition from documentation
Diffstat (limited to 'doc')
-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 d0f20414..323b8ab2 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