Björn Linse
7b488314d0
decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
2021-04-14 13:04:33 +02:00
Michael Lingelbach
cd3e74201a
lsp: fix _make_floating_popup_size when wrap_at is nil ( #14359 )
2021-04-14 13:01:14 +02:00
Thomas Vigouroux
e652b2987a
Merge pull request #14046 from nvim-treesitter/feature/language-tree-directive-config
...
feat(treesitter): allow injections to be configured through directives
2021-04-14 05:36:05 +02:00
Marco Hinz
6b16ec701e
lsp: fix off-by-one in line diagnostic highlighting
2021-04-14 02:11:47 +02:00
Michael Lingelbach
391fe1064e
Merge pull request #14119 from mfussenegger/lsp-debounce
...
lsp: Add a flag to debounce didChange notifications
2021-04-13 15:03:13 -07:00
Marco Hinz
2001ba2c6a
Merge pull request #14324 from mhinz/lsp-border-float-placement
2021-04-13 23:43:50 +02:00
Mathias Fussenegger
720c6353b5
lsp: Add a flag to debounce didChange notifications
...
Would help with cases as reported in https://github.com/neovim/neovim/issues/14087
2021-04-13 21:02:30 +02:00
Björn Linse
c9817603cf
Merge pull request #14318 from chentau/extmark_luado
...
extmark: splice extmarks on :luado
2021-04-13 15:00:42 +02:00
Marco Hinz
ef3f05c432
tutor: force one sign per line ( #14352 )
...
The only thing setting signs in the tutor buffer (buftype=nofile), should be
tutor.vim itself.
Instead of endlessly piling up new signs per line, just unplace any sign on the
line before placing a new one.
Closes https://github.com/neovim/neovim/issues/13808
Closes https://github.com/neovim/neovim/pull/13809
2021-04-13 12:13:44 +02:00
Marco Hinz
4a36ec6da0
float: add "solid" border style ( #14310 )
...
It looks solid with the default `FloatBorder` group.
If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you
effectively get an "1-cell padding".
2021-04-12 20:51:05 +02:00
chentau
ff43d9597e
extmark: splice extmarks on :luado
2021-04-12 11:33:50 -07:00
Marco Hinz
3831825167
lsp: correct float placement when using borders
...
Because borders add up to 2 to the height of a float, we need to subtract that
from the anchor position, when opening a float in the lower half of the window.
2021-04-12 19:54:54 +02:00
Marco Hinz
a215adabc1
lsp: make sure borders are always inside of the screen
...
Add a helper function to get the additional width a border adds to a float to
make sure that the border is always inside the visible screen.
2021-04-12 19:51:18 +02:00
Jan Edmund Lazo
3893027200
Merge pull request #14337 from janlazo/vim-8.2.0409
...
vim-patch:8.1.{1841,2416},8.2.{409,1920,2050}
2021-04-11 21:43:45 -04:00
James McCoy
9b77a2bf60
Merge pull request #14343 from jamessan/doc-fix
...
fix(doc): Add '/site' to stdpath('data') example in `:help 'rtp'`
2021-04-11 20:07:11 -04:00
Jan Edmund Lazo
fa9e5ab0ea
test/old: ':execute' does not suppress range error
...
:2,1>
should trigger backwards range error
but it is suppressed for inccomand.
:execute "2,1>"
does not suppress the error.
2021-04-11 19:14:48 -04:00
Jan Edmund Lazo
4ff70cc58b
vim-patch:8.1.2416: loading menus sets v:errmsg
...
Problem: Loading menus sets v:errmsg.
Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin)
e24c5b3332
2021-04-11 17:05:42 -04:00
Jan Edmund Lazo
750f2b686b
vim-patch:8.1.1841: no test for Ex shift commands
...
Problem: No test for Ex shift commands.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4801 )
d5e3cc11d3
Comment out some tests because of Neovim inccomand.
2021-04-11 17:05:42 -04:00
Jan Edmund Lazo
d2a9b29e1b
vim-patch:8.2.1920: listlbr test fails when run after another test
...
Problem: Listlbr test fails when run after another test.
Solution: Add test separately to list of test targets.
cf4d454df0
2021-04-11 17:05:42 -04:00
Jan Edmund Lazo
a0d3461bf8
vim-patch:8.2.2050: search test contains unneeded sleeps
...
Problem: Search test contains unneeded sleeps.
Solution: Rename the function, remove sleeps. (Christian Brabandt,
closes vim/vim#7369 )
6bed0dbc85
2021-04-11 17:05:41 -04:00
Jan Edmund Lazo
20e5cb151b
vim-patch:8.2.0409: search test leaves file behind
...
Problem: Search test leaves file behind.
Solution: Delete the file. Also use Check commands.
b68df220c5
Reorder tests based on test_search.vim in patch v8.2.0409.
2021-04-11 17:05:41 -04:00
Jan Edmund Lazo
fd908ded50
Merge pull request #14339 from janlazo/vim-8.2.0044
...
vim-patch:8.2.{44,45,69,2319}
2021-04-11 17:04:37 -04:00
Jan Edmund Lazo
b2971ebeed
vim-patch:8.2.2319: "exptype_T" can be read as "expected type"
...
Problem: "exptype_T" can be read as "expected type".
Solution: Rename to "exprtype_T", expression type.
657137ca48
Vim9 changes omitted.
2021-04-11 16:35:55 -04:00
Jan Edmund Lazo
ca214311d2
vim-patch:8.2.0069: ETYPE_ is used for two different enums
...
Problem: ETYPE_ is used for two different enums.
Solution: Rename one to use EXPR_.
87396072c5
2021-04-11 16:35:47 -04:00
Jan Edmund Lazo
de16fbcc57
vim-patch:8.2.0045: script test fails
...
Problem: Script test fails.
Solution: For numbers "is" and "isnot" work like "==" and "!=".
ec57ec692e
2021-04-11 16:35:14 -04:00
Jan Edmund Lazo
53cbfd0220
vim-patch:8.2.0044: expression type is used inconsistently
...
Problem: Expression type is used inconsistently.
Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
"TYPE_" to "ETYPE_" to avoid confusion.
07a3db89b8
2021-04-11 16:34:53 -04:00
Michael Lingelbach
2e156a3b7d
Merge pull request #14340 from mjlbach/fix_clangd_nix
...
contrib: add clang-tools to nix flake
2021-04-10 16:54:56 -07:00
James McCoy
9699f3be10
fix(doc): Add '/site' to stdpath('data') example in :help 'rtp'
...
[skip ci]
2021-04-10 13:45:48 -04:00
Jan Edmund Lazo
062c64e24c
test/ui/cmdline: set notimeout to remove indeterminism ( #14338 )
2021-04-10 12:36:54 -04:00
Björn Linse
6435b46b48
Merge pull request #14317 from chentau/extmark_sub
...
extmark: correct extmark_splice call with substitute and inccommand when replacing with escaped backslashes
2021-04-10 18:14:42 +02:00
Michael Lingelbach
f695457f81
contrib: add clang-tools to nix flake
2021-04-10 08:28:16 -07:00
Christian Clason
1b030f889c
doc: advertise nanotee/nvim-lua-guide ( #14332 ) [skip ci]
...
Mention https://github.com/nanotee/nvim-lua-guide at the beginning of ":h lua" as well as ":h lua-vimscript".
Closes #12369 .
2021-04-09 19:36:23 +02:00
James McCoy
e3d0fb0d3c
Merge pull request #14321 from jamessan/ci-fixes
...
Some small cleanups/diagnostic improvements
2021-04-09 09:48:35 -04:00
Jan Edmund Lazo
8a1a256b44
Merge pull request #14326 from janlazo/vim-8.2.0623
...
vim-patch:8.2.{623,1822,2738}
2021-04-09 08:25:08 -04:00
chentau
343ee2d254
extmark: correct extmark_splice call with inccommand
2021-04-09 00:34:02 -07:00
bphilly96
82ac44d01f
vim-patch:8.2.2737: status line not updated when local 'statusline' option set ( #14325 )
...
Problem: Status line not updated when local 'statusline' option set.
Solution: Check the 'statusline' option of each window.
d8db838392
2021-04-08 23:14:08 -04:00
Jan Edmund Lazo
b35daa986f
vim-patch:8.2.2738: extending a list with itself can give wrong result
...
Problem: Extending a list with itself can give wrong result.
Solution: Remember the item before where the insertion happens and skip to
after the already inserted items. (closes vim/vim#1112 )
dcae51facc
Originated from Neovim commit 7ceebacb3f
.
2021-04-08 22:58:13 -04:00
Jan Edmund Lazo
cfeaea0d3e
vim-patch:8.2.1822: list test doesn't fail
...
Problem: List test doesn't fail.
Solution: Adjust the test for NULL list handling.
f57497276b
Comment out test cases that modify null lists
because Neovim throws error messages instead of silently failing.
Null lists should be read-only and constant.
https://github.com/neovim/neovim/issues/4615
2021-04-08 22:39:28 -04:00
Jan Edmund Lazo
0d0eeff8a3
eval: add v:_null_string
...
Replacement for Vim's test_null_string().
Vim uses it to verify that its codebase handles null strings.
Preparation for the Test_null_list() in patch v8.2.1822.
Use v:_null_string, not non-existent env var, for null string tests.
Mention v:_null_string in id() because id(v:_null_string) returns (nil).
2021-04-08 22:36:20 -04:00
Jan Edmund Lazo
ec273a2c6b
vim-patch:8.2.0623: typo in test comment
...
Problem: Typo in test comment. (Christ van Willegen)
Solution: Avoid mixing up a data structure with a body part.
f7b398c6a9
Cherry-pick Test_dict_lock_operator() from patch v8.2.0619.
2021-04-08 18:53:36 -04:00
Jan Edmund Lazo
ed3c0a27c7
Merge pull request #14314 from janlazo/vim-8.2.2720
...
vim-patch:8.0.{1505,1511},8.2.{1304,1305,1393,1508,1791,2720}
2021-04-08 09:32:37 -04:00
James McCoy
6a03bcc3c2
fix(test): Detect more core filenames
2021-04-08 08:13:39 -04:00
James McCoy
ce9b5848f9
Add more info to debug messages
...
[skip ci]
2021-04-08 08:13:39 -04:00
James McCoy
8caf841308
Lower "closed by the client" message level to INFO
...
[skip ci]
2021-04-08 07:44:51 -04:00
Jan Edmund Lazo
d99ce54252
vim-patch:8.2.1305: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
closes vim/vim#6544 ) Fix error in FinishTesting().
622b3568fa
Omit test_mzscheme.vim.
Neovim does not support "mzscheme" feature.
2021-04-08 07:28:58 -04:00
Jan Edmund Lazo
c3c3425b76
vim-patch:8.2.1791: Vim9: debugger test fails
...
Problem: Vim9: debugger test fails.
Solution: Use "var" instead of "let".
1bdae40323
2021-04-08 07:28:58 -04:00
Jan Edmund Lazo
c0f20333c8
vim-patch:8.2.1508: not all debugger commands covered by tests
...
Problem: Not all debugger commands covered by tests.
Solution: Add tests for going up/down in the stack. (Ben Jackson,
closes vim/vim#6765 )
c63b72b6dc
2021-04-08 07:28:57 -04:00
Jan Edmund Lazo
bf6afcce20
vim-patch:8.2.1393: insufficient testing for script debugging
...
Problem: Insufficient testing for script debugging.
Solution: Add more tests. (Ben Jackson)
b7f4fa5177
Check terminal feature in individual tests, not the test suite.
Avoid code coverage loss in test_debugger.vim.
2021-04-08 07:28:57 -04:00
Jan Edmund Lazo
1b40447df3
vim-patch:8.2.1304: debug backtrace isn't tested much
...
Problem: Debug backtrace isn't tested much.
Solution: Add more specific tests. (Ben Jackson, closes vim/vim#6540 )
6ca6ca4889
Port runtest.vim fix from patch v8.2.1305.
2021-04-08 07:28:57 -04:00
Jan Edmund Lazo
69bab7e35d
vim-patch:8.0.1511: some code for the debugger watch expression is clumsy
...
Problem: Some code for the debugger watch expression is clumsy.
Solution: Clean up the code.
3198870137
2021-04-08 07:28:46 -04:00