33This plugin automatically disables certain features if the opened file is big.
44File size and features to disable are configurable.
55
6- Features/integrations include: ` LSP ` , ` treesitter ` , ` indent_blankline ` ,
7- ` illuminate.vim ` ` NoMatchParen ` , ` syntax off ` , ... (full list at the end)
6+ Features/integrations include: ` LSP ` , ` treesitter ` , ` indent_blankline ` , ` illuminate.vim ` ` NoMatchParen ` , ` syntax off ` , ... (full list at the end)
87
98You can also add your own features.
109
@@ -31,7 +30,6 @@ require("bigfile").setup {
3130 features = { -- features to disable
3231 " indent_blankline" ,
3332 " illuminate" ,
34- " cmp" ,
3533 " lsp" ,
3634 " treesitter" ,
3735 " syntax" ,
@@ -89,26 +87,17 @@ require("bigfile").setup {
8987
9088# Caveats
9189
92- - ` matchparen ` stays disabled, even after you close the big file, you can call
93- ` :DoMatchParen ` manually to enable it
90+ - ` matchparen ` stays disabled, even after you close the big file, you can call ` :DoMatchParen ` manually to enable it
9491
9592# Features/integrations
9693
97- | name | function |
98- | ------------------ | ------------------------------------- |
99- | ` lsp ` | detaches the lsp client from buffer |
100- | ` treesitter ` | disables treesitter for the buffer |
101- | ` illuminate ` | disables ` RRethy/vim-illuminate ` for |
102- : : the buffer :
103- | ` indent_blankline ` | disables |
104- : : ` lukas-reineke/indent-blankline.nvim ` :
105- : : for the buffer :
106- | ` syntax ` | ` :syntax off ` for the buffer |
107- | ` filetype ` | ` filetype = "" ` for the buffer |
108- | ` vimopts ` | ` swapfile = false ` `foldmethod = |
109- : : "manual"` ` undolevels = -1` :
110- : : ` undoreload = 0 ` ` list = false ` for :
111- : : the buffer :
112- | ` matchparen ` | ` :NoMatchParen ` globally, currently |
113- : : this feature will stay disabled, even :
114- : : after you close the big file :
94+ | name | function |
95+ | ------------------ | ----------------------------------------------------------------------------------------------------------- |
96+ | ` lsp ` | detaches the lsp client from buffer |
97+ | ` treesitter ` | disables treesitter for the buffer |
98+ | ` illuminate ` | disables ` RRethy/vim-illuminate ` for the buffer |
99+ | ` indent_blankline ` | disables ` lukas-reineke/indent-blankline.nvim ` for the buffer |
100+ | ` syntax ` | ` :syntax off ` for the buffer |
101+ | ` filetype ` | ` filetype = "" ` for the buffer |
102+ | ` vimopts ` | ` swapfile = false ` ` foldmethod = "manual" ` ` undolevels = -1 ` ` undoreload = 0 ` ` list = false ` for the buffer |
103+ | ` matchparen ` | ` :NoMatchParen ` globally, currently this feature will stay disabled, even after you close the big file |
0 commit comments