refactor(spellfile): config() interface, docs #36481
Problem:
- Exposing the raw config as table is a pattern not seen anywhere else
in the Nvim codebase.
- Old spellfile.vim docs still available, no new documentation
Solution:
- Exposing a config() function that both acts as "getter" and "setter"
is a much more common idiom (e.g. vim.lsp, vim.diagnostic).
- Add new documentation and link old docs to |spellfile.lua| instead of
|spellfile.vim|.
fix(editorconfig): a custom property is treated as a section (#34445)
Problem: A custom property containing a pair of square brackets will be
treated as a section.
Solution: Change the logic parsing a section, remove the first match
regex %b[].
Signed-off-by: fortime <palfortime@gmail.com>
fix(man.lua): :Man slow/hangs if MANPAGER is set #36689
Problem:
When MANPAGER is set to something like 'nvim +Man!',
vim.system({ 'nvim' }) call waits forever for input and times out
after 10 seconds in system() and the assert on stdout being not
nil fails.
Solution:
Set MANPAGER=cat when calling system()