The 0.11 version will support folding according to the LSP server (`textDocument/foldingRange` method in particular).
Set `foldmethod=expr` and `foldexpr=v:lua.vim.lsp.foldexpr()` and you're good to go.
PR:
- github.com/neovim/neovi...
The 0.11 version will support folding according to the LSP server (`textDocument/foldingRange` method in particular).
Set `foldmethod=expr` and `foldexpr=v:lua.vim.lsp.foldexpr()` and you're good to go.
PR:
- github.com/neovim/neovi...
Neovim provides "extended marks" (see `:h extmarks`) to essentially track/highlight/etc a position/range in the text. They are "extended" because they react to text changes.
It is a very powerful tool frequently used in plugins.
Neovim provides "extended marks" (see `:h extmarks`) to essentially track/highlight/etc a position/range in the text. They are "extended" because they react to text changes.
It is a very powerful tool frequently used in plugins.