| Commit message (Collapse) | Author | Age |
... | |
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
Problem: Test 48 is old style.
Solution: Merge test cases into new style test. (Yegappan Lakshmanan,
closes vim/vim#5307)
https://github.com/vim/vim/commit/079119babe1cbba3f9234927e62fd75465f2d6b4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- We already find ourselves renaming nvim_execute_lua in tests and
scripts, which suggests "exec" is the verb we actually want.
- Add "exec" verb to `:help dev-api`.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This has to be done after `init_homedir` for XDG default and `set_init_1` for
lookup from env, which could be done earlier likely (to help with
https://github.com/neovim/neovim/issues/10937), but this keeps it in
sync with Vim.
Fixes https://github.com/neovim/neovim/issues/11499.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Follow-up to 8969efca8 (Vim patch 8.1.0723)
NOTE: This changes the main entrypoint for running single oldtest files
to not use/require the ".res" extension anymore. But it is handled for
B/C.
Adds a phony rule to run oldtest by filename.
Not going through "$(MAKE)" avoids GNUmakefile being used then (which I
use for WIP things), and it seems like SINGLE_MAKE should be used anyway
probably.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
fixes #11494
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Eliminate nvim_source_output(): add boolean `output` param to
nvim_exec() instead.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Similar to nvim_source but will capture the output
- Add meaningful VimL tracebacks for nvim_source
- Handle got_int
- Add error reporting
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- DOCMD_REPEAT is needed to source all lines of input.
- Fix ":verbose set {option}?" by handling SID_STR in get_scriptname().
closes #8722
|
| | | |
| | | |
| | | |
| | | | |
Use a constant for the script id.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Ref: https://github.com/neovim/neovim/commit/ab7da4c53138768#r36200515
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Registers are not sufficiently tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#5288)
https://github.com/vim/vim/commit/71136db1bfbc67c2e55f8070cdf0a241c643e45b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: ml_get error when accessing Visual area in 'statusline'.
Solution: Disable Visual mode when using another window. (closes vim/vim#5278)
https://github.com/vim/vim/commit/dee50a518007b3a59f54b8ad018b6a83993593e7
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Test with "man" fails on FreeBSD.
Solution: Use "-P" instead of "--pager".
https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175
Cherry-picked "has('bsd')" from vim-patch:8.1.0846.
Cherry-picked test_normal.vim fix from vim-patch:8.1.2358
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Autocmds may close window while it is being entered, then
win_set_minimal_style(wp) operates on an invalid pointer.
We could silently ignore this instead, but it is unlikely to be
intentional, so it is more useful to show an error.
fix #11383
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Not always using the right window when jumping to an error.
Solution: Add the "uselast" flag in 'switchbuf'. (closes vim/vim#1652)
https://github.com/vim/vim/commit/539aa6b25eaea91dfd1a175cd053c0f259fa2e58
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot execute commands after closing the cmdline window.
Solution: Also trigger BufEnter and WinEnter. (closes vim/vim#4762)
https://github.com/vim/vim/commit/96e38a86a710fb6daec4550ac1667f019dc3a40e
Fixes https://github.com/neovim/neovim/issues/11279.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fixes #11438
Backtrace:
0 schar_from_ascii ( p=0x801cc9e112c3 <error: Cannot access memory at address 0x801cc9e112c3>, c=32 ' ') at ../src/nvim/screen.c:5263
1 0x00007f31460eccc5 in win_line (wp=wp@entry=0x7fffc9df6230, lnum=lnum@entry=11, startrow=startrow@entry=10, endrow=41, nochange=false, number_only=number_only@entry=false) at ../src/nvim/screen.c:4025
2 0x00007f31460eed8e in win_update (wp=wp@entry=0x7fffc9df6230) at ../src/nvim/screen.c:1403
3 0x00007f31460f011f in update_screen (type=<optimized out>) at ../src/nvim/screen.c:502
4 0x00007f3146138ef4 in normal_redraw (s=s@entry=0x7fffd0a5f700) at ../src/nvim/normal.c:1247
5 0x00007f314613b159 in normal_check (state=0x7fffd0a5f700) at ../src/nvim/normal.c:1324
6 0x00007f31460accfe in state_enter (s=0x7fffd0a5f700) at ../src/nvim/state.c:28
7 0x00007f3146143099 in normal_enter (cmdwin=<optimized out>, noexmode=<optimized out>) at ../src/nvim/normal.c:463
8 0x00007f314618b541 in main (argc=<optimized out>, argv=<optimized out>) at ../src/nvim/main.c:580
|
| | | |
| | | |
| | | |
| | | | |
close #11459
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Map completion test fails in GUI.
Solution: Skip the test that fails.
https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Mapping completion contains dead code.
Solution: Remove the code.
https://github.com/vim/vim/commit/61df0c7996d9acc94267735abc214cb176e63ede
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Mapping completion test fails.
Solution: Fix expected output.
https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Not all mapping completion is tested.
Solution: Add a few more mapping completion tests.
https://github.com/vim/vim/commit/1776a28e9c7fd0236927f14e9df807e524b30721
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: :lockvar and :unlockvar cannot be followed by "| endif".
Solution: Check for following commands. (closes vim/vim#5269)
https://github.com/vim/vim/commit/cc4423ae13d78367a3d0b5756783523d3b3a1d31
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: :const cannot be followed by "| endif".
Solution: Check following command for :const. (closes vim/vim#5269)
Also fix completion after :const.
https://github.com/vim/vim/commit/8f76e6b12b958f2779444a92234bbaf3f49eeb99
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: .cjs files are not recognized as Javascript.
Solution: Add the *.cjs pattern. (closes vim/vim#5268)
https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3
|
| | |\ \
| | | | |
| | | | | |
options: make 'fillchars' and 'listchars' global-local instead of local-only
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These options were previously global. A global-local window option
behaves closer to a global option "per default" (i e with :set),
but still supports local behavior via :setl
Also this restores back-compat for nvim_set_option("fcs", ...)
which are currently broken on 0.4.x but worked in earlier versions
|
| | |\ \ \
| | | | | |
| | | | | | |
lua: make vim.wo and vim.bo used nested indexing for specified handle
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also missing option should be an error. Options are functionality,
not arbitrary variable names (as for vim.g)
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reverts the effect of disabling CMP0065 in ac32426 (#11131)
"build: get rid of warnings with `cmake --debug-output`"
We need symbols from statically linked libraries to be exported.
Otherwise cpath lua modules will not find liblua/libluajit
symbols as needed.
|
| | | | |
| | | | |
| | | | | |
closes #11372
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
extmark: need to use buf instead of curbuf
|
| | | | |
| | | | |
| | | | |
| | | | | |
- nvim_buf_get_extmarks: rename "amount" => "limit"
- rename `set_extmark_index_from_obj`
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: User completion test can fail on MS-Windows.
Solution: Allow for other names befor "Administrator".
https://github.com/vim/vim/commit/346d2a359a6874be6cdb683a8d190ba13aa10e94
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Completing shell command finds sub-directories in $PATH.
Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin)
https://github.com/vim/vim/commit/6ab9e429da18f4d784222a9f7dfafb7c0218b7eb
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Completion in cmdwin does not work for buffer-local commands.
Solution: Use the right buffer. (closes vim/vim#4711)
https://github.com/vim/vim/commit/f03e328348f87e1fe8ce4aad2a6a4237b9f78ce3
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
|
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo}
- Redo gen_char_blob to generate multiple blobs instead of just one
so that multiple Lua modules can be inlined.
- Reorder vim.lua inclusion so that it can use previously defined C
functions and utility functions like vim.shared and vim.inspect things.
- Inline shared.lua into nvim, but also keep it available in runtime.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: When buffer is hidden "F" in 'shortmess' is not used.
Solution: Check the "F" flag in 'shortmess' when the buffer is already
loaded. (Jason Franklin) Add test_getvalue() to be able to test
this.
https://github.com/vim/vim/commit/eda652215abf696f86b872888945a2d2dd8c7192
test_getvalue() is not implemented.
It is only used for checking "need_fileinfo" internal variable.
|
| | |\ \ \
| | | | | |
| | | | | | |
vim-patch:8.1.{471,723,1235,1490,1951,2183,2269,2329,2330}
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Some tests are flaky or fail on some systems.
Solution: Increase waiting time for port number. Use "cmd /c" to execute
"echo" on win32. (Ken Takata, closes vim/vim#3534)
https://github.com/vim/vim/commit/453ce7c16b1001f23f2281b259176c6a00d82999
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Problem: Mouse double click test is a bit flaky.
Solution: Add to list of flaky tests. Update a couple of comments.
https://github.com/vim/vim/commit/f1699968baf3619a4147b44c891ba4a0985e7656
|