| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are some places that mess with the window layout in preparation for moving
a window to a different split (win_split_ins called with new_wp != NULL).
This means the window layout can change slightly even if win_split_ins fails.
This is why it was still needed to restore the window layout in
aucmd_{prep,rest}buf even if we disallow win_split_ins from making aucmd_win
non-floating by moving it into a split.
We can just skip messing with the layout in such places if we're dealing with
the aucmd_win.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nvim uses a floating window for the autocmd window, but in certain situations,
it can be made non-floating (`:wincmd J`), which can cause issues due to the
previous setup and cleanup logic for a non-floating aucmd_win being removed from
aucmd_prepbuf and aucmd_restbuf.
This can cause glitchiness and crashes due to the aucmd_win's frame being
invalid after closing its tabpage, for example.
Ensure aucmd_win cannot be made non-floating. The only place this happens is in
win_split_ins if new_wp != NULL.
|
|
|
|
|
|
|
| |
Update runtime files
https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82
skip: docs
skip: translations
|
|
|
|
|
|
|
|
|
| |
also update documentation
BREAKING CHANGE: signature of highlight.range is now
vim.highlight.range(bufnr, ns, hlgroup, start, finish,
{ regtype = regtype, inclusive = inclusive, priority = priority })
Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
... for when `ns=0`.
Also update the documentation of nvim_set_hl to clarify the set
behaviour.
Fixes #17478
|
|\
| |
| | |
ci: skip ci workflow on only documentation changes
|
|/ |
|
|\
| |
| | |
vim-patch:8.1.{1846,1955},8.2.0156
|
| |
| |
| |
| |
| |
| | |
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes vim/vim#5532)
https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Tests contain typos.
Solution: Correct the typos. (Dominique Pelle)
https://github.com/vim/vim/commit/1bc353b6f1b063e189e0cef26f8dc586dcf9161f
Other changes are either N/A or already applied.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel
Hahler)
Solution: Use GetVimCommand(). (closes vim/vim#4806)
https://github.com/vim/vim/commit/93344c2d707d9953f351c944e6a237c9916f69a3
Cherry-pick a change to test_profile.vim from patch 8.1.1544.
Cherry-pick a change to test_vimscript.vim from patch 8.1.1826.
Some of the args are no-op in Nvim, and `-i NONE` and `--headless` are
already added by `GetVimCommand()`. I'll try to match the order of args
in upstream, substituting `--not-a-term` with `--headless`.
|
| |
| |
| | |
The old description doesn't match the current behavior anymore.
|
|\ \
| | |
| | | |
vim-patch:8.2.4427: getchar() may return modifiers if no character is available
|
|/ /
| |
| |
| |
| |
| | |
Problem: getchar() may return modifiers if no character is available.
Solution: Do not process modifiers when there is no character. (closes vim/vim#9806)
https://github.com/vim/vim/commit/ad6c45f62558e03d3e3a927b3fe4dbaf30a36bef
|
| |
| |
| |
| | |
This matches the LSP handlers, and forces the qflist for diagnostics to
span across the horizontal space, below all open windows.
|
| | |
|
|\ \
| | |
| | | |
Use system dependencies for lint CI
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
“make clint-full” bypasses the normal mechanisms used to communicate
build flags in the CI jobs, so explicitly build nvim before running the
lint jobs.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
ci: remove success check since it's the default
|
|/ / |
|
|\ \
| | |
| | | |
vim-patch:8.2.{4403,4418,4419,4422}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Autochdir test fails on MS-Windows.
Solution: Expecta nother error on MS-Windows.
https://github.com/vim/vim/commit/adbb383e0f2bb59286ea8133f02c448fd334958f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Illegal memory access when using exactly 20 highlights.
Solution: Add one more item in the array. (Brandon Richardson,
closes vim/vim#9800)
https://github.com/vim/vim/commit/a493b6506b67887a1cc2d1c00a896598c3b2d445
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when using special multi-byte character.
Solution: Don't use isalpha() for an arbitrary character.
https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87
Rename vim_isalpha to mb_isalpha.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: ml_get error with nested folds and deleting lines.
Solution: Correct the last line number before calling hasFoldingWin().
https://github.com/vim/vim/commit/943773783384a5ff63f57769d37ddabf8156fe1e
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes vim/vim#9799)
https://github.com/vim/vim/commit/cdf717283ca70b18f20b8a2cefe7957083280c6f
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Closes https://github.com/neovim/neovim/issues/17456
* treesitter uses the default highlight priority of 50
* diagnostic highlights have a priority of 150
* lsp reference highlights have a priority of 200
This ensures proper ordering.
|
|\ \
| | |
| | | |
ci(labeler): change "tests" to "test"
|
|/ / |
|
| |
| |
| |
| |
| | |
Problem: Solidity files are not recognized.
Solution: Add the *.sol pattern. (Dundar Goc, closes vim/vim#9792)
https://github.com/vim/vim/commit/97b231541d4e82fbc85e51121448d95bd43c50ad
|
|\ \
| | |
| | | |
refactor(lua): call `loadfile` internally instead of `luaL_loadfile`
|
| | |
| | |
| | |
| | |
| | |
| | | |
.. instead of luaL_loadfile
allows files to be cached
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
This makes testing the workflows much smoother.
|
|\ \ \ \
| | | | |
| | | | | |
ci: run each test suite in a separate github step
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
This should help combat some of the lagginess when looking at the CI
logs in the browser.
|
|\ \ \ \
| |/ / /
|/| | | |
ci(lint): simplify cache key
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{3659,3660,3661}: integer overflow with large line number
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Test for put with large count fails.
Solution: Adjust the counts in the test.
https://github.com/vim/vim/commit/8bc07e800c2af36686aadd4178cc2671f5c454d4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Overflow check uses wrong number.
Solution: Divide by ten.
https://github.com/vim/vim/commit/9b0e82f35ed4e98414333e71b71ca56219683d16
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Integer overflow with large line number.
Solution: Check for overflow. (closes vim/vim#9202)
https://github.com/vim/vim/commit/03725c5795ae5b8c14da4a39cd0ce723c6dd4304
Put E1247 in globals.h as E1240 is also there.
Do not make getdigits() abort.
|
|\ \ \
| |/ /
|/| | |
vim-patch:8.2.{3492,3493,3570,3573,3574,3575,3577,3601}: put overflow checking shenanigans
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Check for overflow in put count does not work well.
Solution: Improve the overflow check. (Ozaki Kiichi, closes vim/vim#9102)
https://github.com/vim/vim/commit/fa53722367c3793fda95dac665af74b8651065e9
Add some casts as Nvim uses size_t variables in some places.
We could technically adjust the logic to check for overflow outside of size_t's
range, but it's much easier to just port the patch exactly (also means we can
use the same tests).
v:sizeoflong is N/A, so convert the 64-bit tests to Lua and use the FFI to check
long's size.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Required for the tests introduced in v8.2.3601 to pass ASAN when running
test_alot.vim.
Co-authored-by: erw7 <erw7.github@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Overflow check fails with 32 ints.
Solution: Only test with 64 bit ints.
https://github.com/vim/vim/commit/0f0044125c2a5dcde2c4605efc39d2e237eed024
|