Skip to content

Commit

Permalink
Undo readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
squk committed Nov 25, 2024
1 parent 33e7ee6 commit 90f5d23
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
This plugin automatically disables certain features if the opened file is big.
File size and features to disable are configurable.

Features/integrations include: `LSP`, `treesitter`, `indent_blankline`,
`illuminate.vim` `NoMatchParen`, `syntax off`, ... (full list at the end)
Features/integrations include: `LSP`, `treesitter`, `indent_blankline`, `illuminate.vim` `NoMatchParen`, `syntax off`, ... (full list at the end)

You can also add your own features.

Expand Down Expand Up @@ -89,26 +88,17 @@ require("bigfile").setup {

# Caveats

- `matchparen` stays disabled, even after you close the big file, you can call
`:DoMatchParen` manually to enable it
- `matchparen` stays disabled, even after you close the big file, you can call `:DoMatchParen` manually to enable it

# Features/integrations

| name | function |
| ------------------ | ------------------------------------- |
| `lsp` | detaches the lsp client from buffer |
| `treesitter` | disables treesitter for the buffer |
| `illuminate` | disables `RRethy/vim-illuminate` for |
: : the buffer :
| `indent_blankline` | disables |
: : `lukas-reineke/indent-blankline.nvim` :
: : for the buffer :
| `syntax` | `:syntax off` for the buffer |
| `filetype` | `filetype = ""` for the buffer |
| `vimopts` | `swapfile = false` `foldmethod = |
: : "manual"` `undolevels = -1` :
: : `undoreload = 0` `list = false` for :
: : the buffer :
| `matchparen` | `:NoMatchParen` globally, currently |
: : this feature will stay disabled, even :
: : after you close the big file :
| name | function |
| ------------------ | ----------------------------------------------------------------------------------------------------------- |
| `lsp` | detaches the lsp client from buffer |
| `treesitter` | disables treesitter for the buffer |
| `illuminate` | disables `RRethy/vim-illuminate` for the buffer |
| `indent_blankline` | disables `lukas-reineke/indent-blankline.nvim` for the buffer |
| `syntax` | `:syntax off` for the buffer |
| `filetype` | `filetype = ""` for the buffer |
| `vimopts` | `swapfile = false` `foldmethod = "manual"` `undolevels = -1` `undoreload = 0` `list = false` for the buffer |
| `matchparen` | `:NoMatchParen` globally, currently this feature will stay disabled, even after you close the big file |

0 comments on commit 90f5d23

Please sign in to comment.