| Commit message (Collapse) | Author | Age |
... | |
| | | | | | |
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: when accessing `nvim_set_hl` from Lua, empty tables are converted
to empty lists, not dictionaries, resulting in an error for
:lua vim.api.nvim_set_hl(0, "Comment", { cterm = {} })
Workaround: add an empty array as a special case when checking
`dict->cterm.type` and just set `cterm_mask_provided`.
(Proper solution: handle this in `gen_api_dispatch.lua`.)
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
fix(highlight): global ns improvements
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- and reduce heap allocations
Fixes #17420
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
feat(events): add DirChangedPre
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In Nvim, like DirChanged, this also triggers when switching windows.
This marks Vim patch 8.2.4335 as ported.
vim-patch:8.2.4335: no autocommand event triggered before changing directory
Problem: No autocommand event triggered before changing directory. (Ronnie
Magatti)
Solution: Add DirChangedPre. (closes vim/vim#9721)
https://github.com/vim/vim/commit/28e8f73ae2d90009fd62cd60f97c2643ba44de68
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This allows falling back to `@definition` when we have no mapping
`@definition.fancy-specialization`.
This behavior is described in tree-sitter's documentation
(https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme).
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/738
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix(api): re-route nvim_get_runtime_file errors
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
This allows nvim_get_runtime_file to be properly used via pcall
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
fix: <Nop> not shown in :map commands
|
| | |/ /
| |/| | |
|
|/ / /
| | |
| | |
| | | |
This uses the same validation used when defining commands with
`:command`.
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{3073,4120,4151,4152}
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Problem: Block insert with double wide character fails.
Solution: Adjust the expected output.
https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem: When reloading not all properties are detected.
Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes vim/vim#9579)
https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78
Cherry-pick some test changes from patch 8.1.1826.
|
|\ \
| | |
| | | |
fix(screen): don't put empty sign text in line number column
|
| | |
| | |
| | |
| | |
| | |
| | | |
When `signcolumn=number` but no sign on a given line has any text,
display the line's line number instead of the (empty) sign text in the
line number column.
|
|\ \ \
| | | |
| | | | |
fix: autoload variables not loaded with vim.g & nvim_get_var
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
test_cdo.vim is copied from Vim v8.1.1483.
test_packadd.vim is copied from Vim v8.2.0174.
|
|/ / / |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
fix(query.lua): check empty table for lines
|
| | |/
| |/| |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
fix: close floating windows when calling win_close()
|
| | | |
|
|\ \ \
| | | |
| | | | |
prevent checkhealth failure when plugin's check returns void
|
| | | | |
|
| |/ /
|/| |
| | |
| | | |
Co-Authored-By: smolck <46855713+smolck@users.noreply.github.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes vim/vim#9591)
https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab
Cherry-pick get_y_previous() and set_y_previous() from patch 8.1.1736.
Nvim has removed y_current, so code related to it is N/A.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7
Some of the changes were already applied previously.
|
|\ \
| | |
| | | |
fix(event-loop): call vpeekc() directly first to check for character
|
| | |
| | |
| | |
| | | |
Expand mappings first by calling `vpeekc()` directly.
|
|\ \ \
| | | |
| | | | |
fix(inccommand): do not change reg_prev_sub when previewing
|
| | | | |
|
| | | |
| | | |
| | | | |
Fixes #17207
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit fixes #9358, where emitting multiple messages with 'echo' or
a single one with 'echom' or 'echoerr' would result in a press-enter
prompt that couldn't be dismissed by pressing enter.
This requires adapting a few tests to spawn a UI before testing whether
press-enter prompts are blocking.
It also fixes #11718, as when combined with #15910 it enables making
sure that neovim never blocks and emits messages on startup.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This removes expand_spec.lua and copies test_expand.vim from Vim at
version v8.1.2278.
The rest of patch 8.1.2278 were already applied in #15952, so this marks
that patch as fully ported.
vim-patch:8.1.2278: using "cd" with "exe" may fail
Problem: Using "cd" with "exe" may fail.
Solution: Use chdir() instead.
https://github.com/vim/vim/commit/3503d7c94a6c8c2a5ca1665d648d0cb81afcc863
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
https://github.com/vim/vim/commit/3f40ce78f5c178d15871bd784ed878c78f0b8a44
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have to be sure that the bugs fixed in the previous patches also apply to
nvim_win_call.
Checking v8.1.2124 and v8.2.4026 is especially important as these patches were
only applied to win_execute, but nvim_win_call is also affected by the same
bugs. A lot of win_execute's logic can be shared with nvim_win_call, so factor
it out into a common macro to reduce the possibility of this happening again.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
Solution: Disable Visual mode while executing autocommands.
https://github.com/vim/vim/commit/cb1956d6f2aece8ad93e19e5d4c7e0b5e405f056
This should also fix #16937 for nvim_buf_call, so test for it.
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
feat(highlight): ns=0 to set :highlight namespace
|