| Commit message (Collapse) | Author | Age |
|\
| |
| | |
test: always use "set more" with :digraph test
|
|/
|
|
| |
otherwise we risk the same issue as with ex_cmds/digraphs_spec.lua
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
fix: #11826
Some lanuguage servers return complementary candidates whose prefixes do not match are also returned.
So we exclude completion candidates whose prefix does not match.
ex) Microsoft python-language-server, rust-analyzer
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Move uv_stop(), it still causes a "leak" on exit somehow.
- Tenatively restore `UV_RUN_DEFAULT`. It shouldn't hang since we
clobber the handles via `uv_walk((h)=>uv_close(h))`. Although this
still "leaks" on exit, it's faster than the 2-second timeout.
fix #11820
fix #7376
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Call uv_stop().
- Restore `uv_loop_close` condition (braindead cosmetic change from
a2efc9cf8b0f that caused uv_loop_close *not* to be called if
wait=false, sorry).
Not doing `uv_walk(() => uv_close)`: see source comment for explanation.
fix #11820
fix #7376
Q: Should we restore use of `UV_RUN_DEFAULT`/`UV_RUN_ONCE` (removed in
a2efc9cf8b0f)?
A: The while-loop (hopefully) achieves the same purpose while avoiding
a hang.
|
|
|
|
|
| |
never UV_RUN_DEFAULT
ref #11820
ref #7376
|
|
|
|
|
| |
Whenever `eq()`, `ok()`, etc. fails, include log tail in the failure
message. This helps to correlate log messages with a particular test
failure.
|
|\
| |
| | |
vim-patch:8.0.1660,8.1.{43,786,1201,2129,2131,2187,2223,2259},8.2.{241,267}
|
| |
| |
| |
| |
| |
| |
| | |
Problem: No check for a following command when calling a function fails.
Solution: Also check for a following command when inside a try block.
(closes vim/vim#5642)
https://github.com/vim/vim/commit/e51bb17dd0d51384375830ee2a1df30c08121443
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ++bad argument of :edit does not work properly.
Solution: Return FAIL from get_bad_opt() only when there is no valid
argument. (Dominique Pelle, Christian Brabandt, closes vim/vim#2966,
closes vim/vim#2947)
https://github.com/vim/vim/commit/7580849df9d6c7c515f5ed784019336d8a8ec0f0
|
| |
| |
| |
| |
| |
| | |
Problem: The terminal API "drop" command doesn't support options.
Solution: Implement the options.
https://github.com/vim/vim/commit/333b80acf3a44e462456e6d5730e47ffa449c83d
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
https://github.com/vim/vim/commit/725310d89e1ba268bf410472b7de054c6c260161
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes vim/vim#5059)
https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
|
| |
| |
| |
| |
| |
| | |
Problem: Crash when setting 'buftype' to "quickfix".
Solution: Check that error list is not NULL. (closes vim/vim#5613)
https://github.com/vim/vim/commit/99234f29aa8767f2e71bb1f5db6ee0131bc8e64e
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot see what buffer an ml_get error is for.
Solution: Add the buffer number and name in the message
https://github.com/vim/vim/commit/cb86893114ce33dc9c7bd4ff992b05c12406b35d
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ml_get error when updating the status line and a terminal had its
scrollback cleared. (Chris Patuzzo)
Solution: Check the cursor position when drawing the status line.
(closes vim/vim#3830)
https://github.com/vim/vim/commit/10772307c4e5299ed45470f92779f089a00d841e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Running tests may leave XfakeHOME behind.
Solution: Source summarize.vim without using setup.vim. (closes vim/vim#5177)
Also fix that on MS-Windows the test log isn't echoed.
https://github.com/vim/vim/commit/7d2320414ffdd698c9a17d775f71e2c455c21624
|
| |
| |
| |
| |
| |
| | |
Problem: MSVC tests fail.
Solution: Replace backslashes with slashes.
https://github.com/vim/vim/commit/c25e702deec74771e49f6c2df4cda7a1f97d0c1e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using hard coded executable path in test.
Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James
McCoy, closes vim/vim#5025)
https://github.com/vim/vim/commit/1ac41a5c1352306942344777d2ba86dccd84ffad
|
|\ \
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
Env vars must be merged with the current env.
|
| |
| |
| |
| |
| |
| | |
This will help debug CI flakey failures.
TODO: helpers.assert_log() -- Explicitly check contents of the logfile.
|
| |
| |
| |
| |
| | |
- `cmd_env` is a table not a function.
- tests: Set $NVIM_LOG_FILE for fake LSP server.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- os.exit(1) is too generic, since code 1 may be caused by Nvim exiting
for some other reason. Change it to os.exit(101).
- style: de-architect json_encode/json_decode calls.
Failure seen in travis macOS job:
https://travis-ci.org/neovim/neovim/jobs/647849133
[ FAILED ] test/functional/plugin/lsp_spec.lua@ 266 SP basic_init test should not send didOpen if the buffer closes before init
test/functional/plugin/lsp_spec.lua:297: exit code
Expected objects to be the same.
Passed in:
(number) 1
Expected:
(number) 0
stack traceback:
test/functional/plugin/lsp_spec.lua:297: in function 'on_exit'
test/functional/plugin/lsp_spec.lua:100: in function 'test_rpc_server'
test/functional/plugin/lsp_spec.lua:272: in function <test/functional/plugin/lsp_spec.lua:266>
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cpanm cannot look for Perl modules from root directories
without sudo so it creates '~/perl5/' and look for Perl modules in there.
Whether this directory existed before running cpanm or not,
cpanm returns a warning to advice the user to setup local::lib
in order to use modules in '~/perl5/' and exits with error code 0.
Each line in the warning always starts with '!'.
Display this warning to the user.
Continue parsing the version number if the warning can be ignored
because lines that are not prefixed with '!' are valid output.
Fix #11858
|
|\
| |
| | |
lua: vim.deepcopy() and vim.tbl_extend() should preserve vim.empty_dict()
|
| | |
|
| |
| |
| |
| | |
empty_dict() instead of {}
|
| |
| |
| |
| | |
fix: https://github.com/neovim/nvim-lsp/issues/94
|
| |
| |
| |
| |
| | |
would previously only work with ascii fillchars.
Added a test.
|
|\ \
| | |
| | | |
clang analyzer: Dead assignment `ns_id` in nvim_buf_add_highlight
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove a dead assignment of the `ns_id` variable in the
`src/nvim/api/buffer.c` file.
Refer: https://neovim.io/doc/reports/clang/report-f279da.html#EndPath
|
| | |
| | |
| | |
| | |
| | | |
clean-shared-libraries does nothing useful in MSVC build. Nevertheless,
it deletes ${DEPS_INSTALL_DIR}/lib/nvim/parser/c.dll and causes build
failure in CI.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
cpanm outputs a warning that suggest to use 'sudo' or use local::lib.
cpanm exits with 0 so nvim thinks that the command worked.
cpanm output that starts with "!" is likely an error.
Close #11858
|
| |
| |
| |
| |
| |
| |
| | |
doc/lsp: start_client config cmd must be a list
After the merge of https://github.com/neovim/neovim/pull/11847 cmd can
no longer be a string but must be a list.
|
|\ \
| |/
|/| |
check json_encode behavior for vim.empty_dict()
|
|/ |
|
|\
| |
| | |
vim-patch:8.1.{27,32,36,69,70,71,91,92}
|
| |
| |
| |
| |
| | |
Import necessary part of vim-patch:8.1.1575.
https://github.com/vim/vim/commit/75a1a9415b9c207de5a29b25c0d1949c6c9c5c61
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes vim/vim#3051
https://github.com/vim/vim/commit/71ef1ba5e996f34d3e0acbe1d89c4c6bfa5e98ba
|
| |
| |
| |
| |
| |
| |
| | |
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
https://github.com/vim/vim/commit/4551c0a9fcdbdef52836d4852686d54b5e47fdaf
|