From e8bde2fe61461735ed6ef369e6ccbb5edbb07e81 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Sat, 20 Nov 2021 22:32:21 +0100
Subject: Completely remove condition from documentation
---
doc/nvim-treesitter.txt | 3 ---
1 file changed, 3 deletions(-)
(limited to 'doc')
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