10f1.bsky.social
10f1.bsky.social
@10f1.bsky.social
Reposted by 10f1.bsky.social
#neovim Development News

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...
feat(lsp): support `textDocument/foldingRange` by ofseed · Pull Request #31311 · neovim/neovim
Closes #12836. Implemented the textDocument/foldingRange of LSP. Provides vim.lsp.foldexpr() which can be used to enable LSP folding. Provides vim.lsp.foldtext() which can be used to display the c...
github.com
November 30, 2024 at 5:45 PM
Reposted by 10f1.bsky.social
A Texas legislator has moved to designate abortion-inducing pills as controlled substances, potentially endangering women across the state.
New Texas Bill Would Classify Abortion Pills as Schedule IV Drugs
A Texas legislator has moved to designate abortion-inducing pills as controlled substances, potentially endangering women across the state.
www.dallasobserver.com
December 2, 2024 at 9:28 PM
Reposted by 10f1.bsky.social
Here is a thread about a niche aspect of a niche #neovim topic.

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.
November 16, 2024 at 6:01 PM