3
3
This plugin automatically disables certain features if the opened file is big.
4
4
File size and features to disable are configurable.
5
5
6
- Features/integrations include: ` LSP ` , ` treesitter ` , ` indent_blankline ` , ` illuminate.vim ` ` NoMatchParen ` , ` syntax off ` , ... (full list at the end)
6
+ Features/integrations include: ` LSP ` , ` treesitter ` , ` indent_blankline ` ,
7
+ ` illuminate.vim ` ` NoMatchParen ` , ` syntax off ` , ... (full list at the end)
7
8
8
9
You can also add your own features.
9
10
@@ -30,6 +31,7 @@ require("bigfile").setup {
30
31
features = { -- features to disable
31
32
" indent_blankline" ,
32
33
" illuminate" ,
34
+ " cmp" ,
33
35
" lsp" ,
34
36
" treesitter" ,
35
37
" syntax" ,
@@ -87,17 +89,26 @@ require("bigfile").setup {
87
89
88
90
# Caveats
89
91
90
- - ` matchparen ` stays disabled, even after you close the big file, you can call ` :DoMatchParen ` manually to enable it
92
+ - ` matchparen ` stays disabled, even after you close the big file, you can call
93
+ ` :DoMatchParen ` manually to enable it
91
94
92
95
# Features/integrations
93
96
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 |
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 :
0 commit comments