| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
When the node mentioned in a predicate is not required for the query
then predicates putting restrictions on that node shouldn't run.
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2600
|
|\
| |
| | |
vim-patch:8.2.{0342,0347,0369}: insufficient test coverage
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5751)
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Cherry-pick a fix from patch 8.2.3162.
Omit test_iminsert.vim as previous patches to that file are N/A, and
Nvim doesn't support iminsert=2 either, so that test isn't useful.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various code not covered by tests.
Solution: Add more test coverage. (Yegappan Lakshmanan, closes vim/vim#5720)
https://github.com/vim/vim/commit/91ffc8a5f5c7b1c6979b3352a12ed779d11173a9
Test_Ex_echo_backslash() is not applicable to Vim enhanced Ex mode.
|
|/
|
|
|
|
|
|
|
|
| |
Problem: Some code in ex_getln.c not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5717)
https://github.com/vim/vim/commit/0546d7df13b041833121b2d56036e1c62ea3b0c1
Nvim doesn't support imsearch=2, commenting out that line is enough.
Test_Ex_append() is not applicable to Vim enhanced Ex mode.
Omit test_iminsert.vim as previous patches to that file are N/A.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- only update git-version if both of these conditions are met:
- `git` command succeeds
- `versiondef_git.h` would change (SHA1-diff)
- else print a status/warning message
also move version generation out of Lua into cmake.
|
| |
|
|
|
|
|
|
|
| |
(#19317)
Problem: Assert_equal() output for dicts is hard to figure out.
Solution: Only show the different items.
https://github.com/vim/vim/commit/4a021dfbeee88ac09d07e257912485314ecdcabe
|
| |
|
|
|
|
|
| |
Problem: Saving and restoring called_emsg is clumsy.
Solution: Count the number of error messages.
https://github.com/vim/vim/commit/53989554a44caca0964376d60297f08ec257c53c
|
| |
|
|\
| |
| | |
vim-patch:8.2.{0275,0293,5050}
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using freed memory when searching for pattern in path.
Solution: Make a copy of the line.
https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895
Cherry-pick Test_def_search() -> Test_macro_search() from patch 8.2.0369
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5673)
https://github.com/vim/vim/commit/818fc9ad143911b2faa0d7cee86724aa70a02080
Needs to assert E170 instead of E580 because patch 8.2.3486 has been
ported but patch 8.2.1183 hasn't.
|
|/
|
|
|
|
| |
Problem: Some Ex code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5659)
https://github.com/vim/vim/commit/406cd90f1963ca60813db91c413eef4b1b78ee44
|
|
|
| |
Fixes #19326
|
|\
| |
| | |
vim-patch:8.2.{0270,2732}
|
| |
| |
| |
| |
| |
| | |
Problem: Prompt for s///c in Ex mode can be wrong.
Solution: Position the cursor before showing the prompt. (closes vim/vim#8073)
https://github.com/vim/vim/commit/e5b0b98a90acf420bb611fc99534982c98d0645b
|
| |
| |
| |
| |
| |
| | |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649)
https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
|
|/ |
|
|\
| |
| | |
vim-patch:8.2.0203: :helptags and some other functionality not tested
|
| |
| |
| |
| |
| |
| | |
Problem: :helptags and some other functionality not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5567)
https://github.com/vim/vim/commit/e20b9ececa37a81c0340a78f61e57fa1bf46b06d
|
|/ |
|
|
|
|
|
|
|
| |
vim.lsp.start_client() may fail (for example if the `cmd` is not
executable). It produces a nice error notification in this case. Passing
the `nil` value returned from an erroneous `vim.lsp.start_client()` call
into `vim.lsp.buf_attach_client()` causes a meaty param validate
exception message. Avoid this.
|
|\
| |
| | |
vim-patch:8.1.{1855,1859,1864,1867}: flaky timer tests
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Still a timer test that is flaky on Mac.
Solution: Loop with a sleep instead of one fixed sleep.
https://github.com/vim/vim/commit/315244d85b9b8faae549b1700e8cc2e45eaa68ea
|
| |
| |
| |
| |
| |
| | |
Problem: Still a timer test that is flaky on Mac.
Solution: Adjust the sleep times.
https://github.com/vim/vim/commit/413c04e8d515f604a17b90295c86a0fd547518ba
|
| |
| |
| |
| |
| |
| | |
Problem: Timer test sometimes fails on Mac.
Solution: Show more info when it fails.
https://github.com/vim/vim/commit/427dddf014fea1326ea7f8c0951b0667dc037409
|
|/
|
|
|
|
|
|
|
| |
Problem: Another failing timer test.
Solution: Assert that timers are finished by the end of the test. Rename
test functions to make them easier to find.
https://github.com/vim/vim/commit/9a2fddcf04192a643dc97601d689c27f5bc5184f
Use test_garbagecollect_now() in Test_timer_retain_partial() like Vim.
|
|\
| |
| | |
vim-patch:8.2.{0212,0243,0250}: insufficient tests
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5618)
https://github.com/vim/vim/commit/9f6277bdde97b7767ded43a0b5a2023eb601b3b7
Cherry-pick Test_window_only() from patch 8.2.0203.
Cherry-pick a memory leak fix from patch 8.2.0399.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vim-patch:8.2.0212: missing search/substitute pattern hardly tested
Problem: Missing search/substitute pattern hardly tested.
Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
closes vim/vim#5579)
https://github.com/vim/vim/commit/07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe
vim-patch:8.2.0250: test_clear_search_pat() is unused
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes vim/vim#5624)
https://github.com/vim/vim/commit/4f5776c17cd86f904a7e2f92db297c73e28939b7
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
is set (#19306)
Problem: When :edit reuses the current buffer the alternate file is set to
the same buffer.
Solution: Only set the alternate file when not reusing the buffer.
(closes vim/vim#8783)
https://github.com/vim/vim/commit/b8bd2e6ebab03baf2672067067a599df69a278c0
Cherry-pick Test_cmdline_expand_special() from patches 8.2.{0243,2873}.
Move Test_cmd_backtick() to the right place.
|
|
|
|
|
|
|
|
|
|
|
| |
Issuing a server request triggers `changetracking.flush` so as to
make sure we're not operating on a stale state. This immediately
triggers notification of any pending changes (as a result of debouncing)
to the server. However, this happens in addition to the notification
that is waiting on the debounce delay. Because we `nil`
`buf_state.pending_change` when it is called, the fix is to
also check that this is non-`nil` when it is called and exit if it is,
as this being `nil` would mean that it originates from a pending change
that has already been flushed out.
|
|
|
| |
set `tagfunc` to `vim.lsp.tagfunc` and `omnifunc` to `vim.lsp.omnifunc` if empty when attaching a server
|
|\
| |
| | |
vim-patch:8.2.{3530,3531}: ":buf \{a}" fails while ":edit \{a}" works
|
| |
| |
| |
| |
| |
| | |
Problem: Command line completion test fails on MS-Windows.
Solution: Do not test with "\{" on MS-Windows.
https://github.com/vim/vim/commit/39c47c310487b72bc78ff197b5a068a0bcf830de
|
| |
| |
| |
| |
| |
| | |
Problem: ":buf \{a}" fails while ":edit \{a}" works.
Solution: Unescape "\{". (closes vim/vim#8917)
https://github.com/vim/vim/commit/21c1a0c2f10575dbb72fa873d33f0c1f6e170aa7
|
|\ \
| | |
| | | |
Fix some floating window height and width bugs
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| | |
fixup for #19283
|