| Commit message (Collapse) | Author | Age |
|\
| |
| | |
vim-patch:8.1.{927,2293}
|
| |
| |
| |
| |
| | |
https://neovim.io/doc/reports/clang/report-487b01.html#EndPath
https://neovim.io/doc/reports/clang/report-ce4c3c.html#EndPath
|
| |
| |
| |
| | |
Cherry-picked from vim patch 8.1.1489.
|
| |
| |
| |
| |
| |
| | |
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes vim/vim#3958)
https://github.com/vim/vim/commit/00590740081489db69f43d9f1c0e3f70e29ce6da
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Join adds trailing space when second line is empty. (Brennan
Vincent)
Solution: Do not add a trailing space.
https://github.com/vim/vim/commit/cc184cfb09161b3bbc7d5d8859a18e812367d19c
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Multiple Debian builds were failing these tests:
Failures:
From test_environ.vim:
Found errors in Test_external_env():
function RunTheTest[37]..Test_external_env line 16: Expected '' but got 'FOO=null\n'
Found errors in Test_getenv():
function RunTheTest[37]..Test_getenv line 2: Expected v:null but got v:false
Found errors in Test_setenv():
function RunTheTest[37]..Test_setenv line 5: Expected v:null but got 'null'
This is because nvim has a separate tag (`v_special`) in `typval_T` for
special variables, whereas vim re-uses the `v_number` tag.
On little-endian architectures, using the incorrect tag is not an issue
because the byte representation is the same. However, on big-endian
systems this caused the `v_number == kSpecialVarNull` checks to fail,
and the non-special code to execute.
|
|
|
|
|
|
| |
Mainly configuration and RPC infrastructure can be considered "done". Specific requests and their callbacks will be improved later (and also served by plugins). There are also some TODO:s for the client itself, like incremental updates.
Co-authored by at-tjdevries and at-h-michael, with many review/suggestion contributions.
|
|\ |
|
| |
| |
| |
| |
| | |
The spelling "Extmark" is used almost everywhere, so don't spell it
"ExtMark" inconsistently.
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: scripts/gen_vimdoc.py gets confused and tries to generate docs
for `fn_index` and `func`.
Solution: Rename them to be private.
|
| |
| |
| |
| | |
Accidentally renamed in 1cb467454782.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
We often want to do type checking of public function arguments.
- test: Rename utility_function_spec.lua to vim_spec.lua
- .luacov: Map lua module names
|
| |
| |
| |
| |
| |
| | |
Problem: Adding quickfix items marks items as valid errors. (Daniel Hahler)
Solution: Check when items are valid. (Yegappan Lakshmanan, closes vim/vim#3683,
closes vim/vim#3633)
https://github.com/vim/vim/commit/9752c72f492312acd1c84e673864faed31a3bc97
|
|\ \
| | |
| | | |
extmark API feature
|
| | | |
|
| | | |
|
| |/ |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: If spellfile is missing, then "set spell" in modeline/sandbox
fails with a non-obvious error.
Solution: Check for sandbox early and give a meaningful error.
Fixes #11359
Test case:
# test.latex has `% vim: set spelllang=hu:`
# no spell file for `hu` yet!
nvim -u NORC --cmd 'autocmd FileType tex setlocal spell' --cmd 'set modeline' test.latex
Before:
No spell file for "hu" in utf-8
Download it?
Downloading hu.utf-8.spl...
Error detected while processing /usr/local/share/nvim/runtime/autoload/netrw.vim:
line 583:
E12: Command not allowed from exrc/vimrc in current dir or tag search: au WinEnter *^Iif &ft == "netrw"|call s:NetrwInsureWinVars()|endif
Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread[13]..netrw#NetRead[4]..<SNR>67_NetrwOptionsSave:
line 66:
E171: Missing :endif
Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread:
line 13:
E171: Missing :endif
Error detected while processing function spellfile#LoadFile:
line 60:
E171: Missing :endif
Error detected while processing modelines:
line 1:
E12: Command not allowed from exrc/vimrc in current dir or tag search
After:
Error detected while processing function spellfile#LoadFile:
line 5:
E605: Exception not caught: Cannot download spellfile in sandbox/modeline. Try ":set spell" from the cmdline.
Error detected while processing modelines:
line 1:
E12: Command not allowed from exrc/vimrc in current dir or tag search
|
|\
| |
| | |
tests: vim.rpcnotify test is flaky
|
|/ |
|
|
|
| |
This adds the missing partner function of nvim_buf_set_virtual_text().
|
|\
| |
| | |
lua: add vim.rpcrequest, vim.rpcnotify and vim.NIL
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
ref #11004
|
|/ / |
|
|\ \
| | |
| | | |
vim-patch:8.1.{324,1091,2244,2258,2262,2268,2270,2272}
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Off-by-one error in cmdidx check. (Coverity)
Solution: Use ">=" instead of ">".
https://github.com/vim/vim/commit/74c8be2c6803eda3a57991b8867c5c65259b73d6
Fix pvs/v557.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test may hang at more prompt.
Solution: Reset 'more' after resetting 'compatible'. (Michael Soyka)
https://github.com/vim/vim/commit/34059e7b67ae8a58dc2471b309afe05d9dde760f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: "gf" is not tested in Visual mode.
Solution: Add Visual mode test and test errors. (Dominique Pelle,
closes vim/vim#5197)
https://github.com/vim/vim/commit/0208b6b771161d1a668b3568f71dc2bde3614933
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Spell file flag zero is not recognized.
Solution: Use -1 as an error value, so that zero can be used as a valid flag
number.
https://github.com/vim/vim/commit/3d2a47c7823b934e1a85d773b68758c87c3ddc90
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Unpack assignment in function not recognized.
Solution: Skip over "[a, b]". (closes vim/vim#5051)
https://github.com/vim/vim/commit/1e673b9eb686459bd0e7fc3f2199dd077546a18e
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: MS-Windows: cannot use multi-byte chars in environment var.
Solution: Use the wide API. (Ken Takata, closes vim/vim#4008)
https://github.com/vim/vim/commit/f0908e6fe18943ad4453d7d6772fa43049aff4bc
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: May get hit-enter prompt after entering a number. (Malcolm Rowe)
Solution: Put back accidentally deleted lines. (closes vim/vim#5176)
https://github.com/vim/vim/commit/dc968e7a45c672a81148628b755c2a440a228ad7
|
| |/
| |
| |
| |
| |
| | |
Problem: 'wrapscan' is not used for "gn".
Solution: Only reset 'wrapscan' for the first search round. (closes vim/vim#5164)
https://github.com/vim/vim/commit/82cf7f6df751505da285815a791463a049587849
|
|/
|
| |
fix #11344
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following script is cut out from vim-patch.sh:
```sh
#!/usr/bin/env bash
BASENAME=vim-patch.sh
printf "\nInstructions:
To port one of the above patches to Neovim, execute this script with the patch revision as argument and follow the instructions, e.g.
'%s -p v8.0.1234', or '%s -P v8.0.1234'
NOTE: Please port the _oldest_ patch if you possibly can.
You can use '%s -l path/to/file' to see what patches are missing for a file.
" "${BASENAME}" "${BASENAME}" "${BASENAME}"
```
The code itself should be correct, but shellcheck 0.7.0 says:
```
In /tmp/test.sh line 5:
printf "\nInstructions:
^-- SC2183: This format string has 2 variables, but is passed 3 arguments.
```
We also had a problem before that a `%s` was added, but the accompanying
argument to printf was forgotten. Using a heredoc is less error-prone, since we
insert variables directly.
|
|
|
|
| |
[skip ci]
|
|\ |
|
| | |
|
|/ |
|
|\ |
|