|
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`, |
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) |
8 | 7 |
|
9 | 8 | You can also add your own features. |
10 | 9 |
|
@@ -89,26 +88,17 @@ require("bigfile").setup { |
89 | 88 |
|
90 | 89 | # Caveats |
91 | 90 |
|
92 | | -- `matchparen` stays disabled, even after you close the big file, you can call |
93 | | - `:DoMatchParen` manually to enable it |
| 91 | +- `matchparen` stays disabled, even after you close the big file, you can call `:DoMatchParen` manually to enable it |
94 | 92 |
|
95 | 93 | # Features/integrations |
96 | 94 |
|
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 : |
| 95 | +| name | function | |
| 96 | +| ------------------ | ----------------------------------------------------------------------------------------------------------- | |
| 97 | +| `lsp` | detaches the lsp client from buffer | |
| 98 | +| `treesitter` | disables treesitter for the buffer | |
| 99 | +| `illuminate` | disables `RRethy/vim-illuminate` for the buffer | |
| 100 | +| `indent_blankline` | disables `lukas-reineke/indent-blankline.nvim` for the buffer | |
| 101 | +| `syntax` | `:syntax off` for the buffer | |
| 102 | +| `filetype` | `filetype = ""` for the buffer | |
| 103 | +| `vimopts` | `swapfile = false` `foldmethod = "manual"` `undolevels = -1` `undoreload = 0` `list = false` for the buffer | |
| 104 | +| `matchparen` | `:NoMatchParen` globally, currently this feature will stay disabled, even after you close the big file | |
0 commit comments