| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Fixes #13541
Neovim would crash when trying to map a key on non existant buffer
|
|
|
|
|
| |
NB: currently this invalidates all extmarks inside the region.
Later on within-line extmarks could be preserved
|
| |
|
|\
| |
| | |
LSP: Move workspace/configuration from nvim-lspconfig to core
|
| | |
|
|\ \
| | |
| | | |
vim-patch:8.1.{1241,1261,1275,1281,1549,1590,1881,2079,2322,2360,2411},8.2.{113,388,934,2255,2258,2260,2269}
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This test can fail on any of the Windows builds
because Github Actions does not provide enough stability
and enough memory for all runners..
Check test requirements before running any test cases
to avoid duplicate checks.
|
| | |
| | |
| | |
| | |
| | | |
Adjust failing tests to current behavior due to changes in assert_fails
behavior by fbd6a86.
|
| |/
| |
| |
| |
| | |
fbd6a86 changes the behavior of :command-range and no longer allows
arbitrary numbers. Adjust tests to reflect this behavior.
|
|\ \
| | |
| | | |
nvim_buf_set_text
|
| | |
| | |
| | |
| | |
| | |
| | | |
add byte count tests
update documentation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
removing pending virtcol tests
Allow passing in empty array as a shorthand for array with empty string; add more documentation
add check for start_row as well
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fix double free because intermediary lines weren't xmemdup'd.
NL-for-NUL dance.
Normalize row indices and perform more validation.
Adjust the cursor position if it's on the right side of the replacement.
Tests and documentation.
|
|\ \ \
| |_|/
|/| | |
ui: make 'mouse' handling in external UI more consistent
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
before the behaviour of 'mouse' was inconsistent in external UI,
as some remapping logic would check has_mouse() and others don't
(no difference in TUI or vim classic). With this change, the behaviour
is consistently up to the UI decide (see ui.txt edit)
Behaviour of tui.c is unaffected by this change.
|
| | |
| | |
| | |
| | | |
This reverts commit 0519a75f6eca1065a4d0184f99c71ae03a99b9b1.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
with mapped Esc"
This reverts commit 44bb7147e40743d9a70ee3a2663a7a7dacec7b13.
Avoid regression mentioned in https://github.com/neovim/neovim/commit/c64cce906e7ed828d331e1786c985ff7aa734546#commitcomment-45554271
|
| |/
|/|
| |
| | |
to prevent a regression we just witnessed
|
| |
| |
| | |
Behavior may change in future but for now stick to legacy behavior.
|
| |
| |
| |
| |
| |
| | |
Problem: Mode is not cleared when leaving Insert mode with mapped Esc.
Solution: Clear the mode when redraw_cmdline is set. (closes vim/vim#4269)
https://github.com/vim/vim/commit/4c25bd785aa8b565bf973cbba12ed36b76daaa4f
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution: Add c/l/b. (Christian Brabandt, closes vim/vim#5110, closes vim/vim#4546)
https://github.com/vim/vim/commit/3691f1ee72b68a47e6dcc75927bfa46565cf3614
Patch v8.1.0999 is not ported so ":registers" does not omit register 1.
|
| |
| |
| |
| | |
Adds support for signs to be 0 cells wide. If all signs of the same
group have no width, the signcolumn will not be rendered for that group.
|
|/ |
|
|
|
|
|
|
| |
"set foldcolumn=auto" is documented but not supported.
Support it by making it behave as "auto:1", similar to "signcolumn".
Close https://github.com/neovim/neovim/pull/13561
|
|\
| |
| | |
api: add textlock check
|
| | |
|
|\ \
| | |
| | | |
feat(treesitter): add offset predicate for language injection
|
| |/
| |
| |
| | |
refactor(treesitter): add directives to queries
|
|/
|
|
|
| |
Also adds a test that we actually subscribe to buffer events when in
CMDPREVIEW.
|
| |
|
|
|
|
|
|
|
|
| |
Cherry-pick f_executable(), f_exepath(), check_for_string() from patch 8.2.2117.
Rename check_for_string() to tv_check_for_string().
https://github.com/vim/vim/commit/7bb4e74c38642682cfdd0cb4052adfa5efdd7dd1
Close https://github.com/neovim/neovim/issues/13485
|
|
|
|
|
| |
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Lua patterns the hyphen works like a non-greedy version of Vim's `*`.
- Use `%-` when you need a literal hyphen.
- If you don't need a regular expression at all, use something like
```
string.find(text, pattern, 1, true)
```
so that the pattern is regarded as a plain, non-magical string.
See [1] and [2] in the Lua manual.
[1]: https://www.lua.org/manual/5.1/manual.html#pdf-Patterns
[2]: https://www.lua.org/manual/5.1/manual.html#pdf-string.find
|
|\
| |
| | |
runtime: propagate lua parsing errors while using "require"
|
| | |
|
|\ \
| |/
|/| |
fix(treesitter): don't throw an error for missing injected langs
|
| | |
|
|\ \
| | |
| | | |
fix(treesitter): incorrect method name call
|
| |/ |
|
|/
|
|
|
|
| |
When create tab, win_hide sent to new tab and new tab's previous tab.
So, if created tab that not next tab (eg. $tabnew cmd),
send win_hide to not current tab, and fixed this.
|
|\
| |
| | |
api: add option metadata
|
| | |
|
| | |
|
| |
| |
| | |
Allows users to associate the diagnostics with the right bufnr.
|
|/
|
|
| |
Server (#13175)
|
|\
| |
| | |
vim-patch:8.0.{858,953,1525}
|
| |
| |
| |
| |
| | |
User config may set $PS1 for a colored prompt.
It breaks the screen tests.
|