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.
https://github.com/vim/vim/commit/f7b398c6a9476a2004a42555b731ebf47b866408
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
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().
https://github.com/vim/vim/commit/622b3568fa1baf07671d31390815fb0a55a99891
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".
https://github.com/vim/vim/commit/1bdae4032359081325578cc74739a0a097e008ff
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 )
https://github.com/vim/vim/commit/c63b72b6dc1347530ce906b462bb568994552c8b
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)
https://github.com/vim/vim/commit/b7f4fa517793b0fe1a4895781b4cba451d60d7c2
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 )
https://github.com/vim/vim/commit/6ca6ca48898750dd55cad13c88a9c1dfd7fdaad5
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.
https://github.com/vim/vim/commit/3198870137df64214317151726648af8e56f1729
2021-04-08 07:28:46 -04:00
Jan Edmund Lazo
1a1fe58f7e
vim-patch:8.0.1505: debugger can't break on a condition
...
Problem: Debugger can't break on a condition. (Charles Campbell)
Solution: Add ":breakadd expr". (Christian Brabandt, closes vim/vim#859 )
https://github.com/vim/vim/commit/c6f9f739d32084923c3031cbf6f581f8c8bf7fd2
Do not port "has_watchexpr()" to avoid dead code.
"has_watchexpr()" always returns 0 because "debug_expr" is always 0.
Restore "eval_expr()" as a wrapper to allocate "typval_T" for "eval0()".
Remove it in later patches.
Include "typval_compare()" changes from patch v8.1.0958,
partially ported in 8b60368c1b .
Close https://github.com/neovim/neovim/pull/12373
N/A patches for version.c:
vim-patch:8.2.2720: GTK menu tooltip moves the cursor
Problem: GTK menu tooltip moves the cursor.
Solution: Position the cursor after displaying the tooltip. Do not show the
tooltip when editing the command line.
https://github.com/vim/vim/commit/01ac0a1f664c5b1ffd5c9ef196d4b47edf2fd494
2021-04-08 07:28:46 -04:00
Michael Lingelbach
48e8057285
Merge pull request #14302 from vigoux/fix-8449
...
Update docs
2021-04-07 09:14:49 -07:00
Marco Hinz
cd75d3289a
Merge pull request #14200 from teto/treesitter-checkhealth
...
feat: treesitter checkhealth
2021-04-07 16:40:56 +02:00
Thomas Vigouroux
d7a1bbd81a
docs: add priority option in buf_set_extmark
2021-04-07 15:36:46 +02:00
Michael Lingelbach
91cdc11984
Merge pull request #14309 from mjlbach/feature/hover_return_win_buf
...
lsp: hover window should return buf/winnr from focusable float
2021-04-07 00:58:32 -07:00
Michael Lingelbach
c2298503ce
Merge pull request #14308 from mjlbach/lsp_update_docs
...
lsp: update documentation on window borders
2021-04-07 00:29:39 -07:00
Michael Lingelbach
5610e8a4ac
lsp: hover window should return buf/winnr from focusable float
2021-04-07 00:21:56 -07:00
Michael Lingelbach
2c0bcc539a
lsp: update documentation on window borders
2021-04-06 23:51:15 -07:00
Michael Lingelbach
b518b9076f
Merge pull request #14299 from mjlbach/issue_template_improvements
...
issue template: add reference to discourse and minimal config in lsp issue template
2021-04-06 11:22:04 -07:00
Thomas Vigouroux
952508d405
fix(ts): move checkhealth in runtime/vim
2021-04-06 19:03:04 +02:00
Thomas Vigouroux
e8bc3d717e
feat(ts): include parser ABI version in checkhealth
2021-04-06 19:02:58 +02:00
Matthieu Coudron
86ced59a6a
feat: treesitter checkhealth
2021-04-06 18:54:22 +02:00
Michael Lingelbach
370469be25
Merge pull request #14300 from elianiva/feat/lsp_border_config
...
feat(lsp): make hover/signature_help borders configurable
2021-04-05 22:44:28 -07:00
elianiva
c84b1b1ad0
feat(lsp): make hover/signature_help borders configurable
...
change hl groups for the example
rename borders -> border
2021-04-06 12:13:31 +07:00
Jan Edmund Lazo
bbdd002033
Merge pull request #14290 from Shougo/vim-8.2.2704
...
[RFC] vim-patch:8.2.2704, 8.2.2707
2021-04-05 20:08:57 -04:00
Jan Edmund Lazo
cc9f7e717b
Merge pull request #14291 from janlazo/vim-8.2.2709
...
vim-patch:8.2.{2709,2711,2714,2717}
2021-04-05 20:01:07 -04:00
Michael Lingelbach
dcb447dafd
issue template: add reference to discourse and minimal config in lsp issue template
2021-04-05 14:47:59 -07:00
Jan Edmund Lazo
ce0153e4f7
vim-patch:8.2.2714: filetype pattern ending in star is too far up
...
Problem: Filetype pattern ending in star is too far up.
Solution: Move down to where patterns ending in star belong. (closes vim/vim#8065 )
https://github.com/vim/vim/commit/409da842db9dc24d88e415e518c02c05ac7de760
2021-04-05 11:29:35 -04:00
Jan Edmund Lazo
62a3312b88
vim-patch:8.2.2711: "gj" in a closed fold does not move out of the fold
...
Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
Solution: Add a check for being in a closed fold. (closes vim/vim#8062 )
https://github.com/vim/vim/commit/3c49e74e18993915a779cafe4af3749b39fd3e2a
N/A patches for version.c:
vim-patch:8.2.2709: the GTK GUI has a gap next to the scrollbar
Problem: The GTK GUI has a gap next to the scrollbar.
Solution: Calculate the scrollbar padding for GTK. (closes vim/vim#8027 )
https://github.com/vim/vim/commit/26af8e54ff0d423b7258ef84d175c8570740629a
vim-patch:8.2.2717: GTK menu items don't show a tooltip
Problem: GTK menu items don't show a tooltip.
Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
closes vim/vim#8067 , closes vim/vim#7810 )
https://github.com/vim/vim/commit/ce5b06a6a972dcc36e460782e10e21a09b227b5d
2021-04-05 11:29:35 -04:00
Michael Lingelbach
2c4e9c5245
lsp: floating window improvements ( #14207 )
...
* remove left/right padding feature from trim_and_pad
* use invisible borders by default on floating windows
2021-04-05 15:43:08 +02:00
Lewis Russell
9fbeaf7771
vim-patch:8.1.2205: sign entry structure has confusing name ( #14289 )
...
Problem: Sign entry structure has confusing name.
Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields.
2021-04-05 06:16:44 -04:00
Shougo Matsushita
21a3d1a511
Fix the comments
2021-04-05 13:41:39 +09:00
Shougo Matsushita
1996028c5c
vim-patch:8.2.2707: adding a lot of completions can still be a bit slow
...
Problem: Adding a lot of completions can still be a bit slow.
Solution: Add the check for CP_FAST. (Ben Jackson)
https://github.com/vim/vim/commit/ceb06194337f1a9d30cd12edb7b0dc51830b9cb7
2021-04-05 09:24:11 +09:00
Shougo Matsushita
356a35a848
vim-patch:8.2.2704: adding a lot of completions can be a bit slow
...
Problem: Adding a lot of completions can be a bit slow.
Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
list of completions. (Ben Jackson, closes vim/vim#8061 )
https://github.com/vim/vim/commit/440cf096fad7bf628974abc344343b823d79a006
2021-04-05 09:22:26 +09:00
Björn Linse
9b2d4ff625
Merge pull request #14227 from bfredl/bordaa3
...
Border: allow to enable/disable specific border edges
2021-04-05 00:21:51 +02:00
Björn Linse
160c9fd126
Merge pull request #14199 from bfredl/chansend2
...
api: fix use-after-free in nvim_chan_send
2021-04-04 22:41:01 +02:00
Ghjuvan Lacambre
0f187700ab
vim-patch:8.2.0295: highlighting for :s wrong when using different separator ( #14286 )
...
Problem: Highlighting for :s wrong when using different separator.
Solution: Use separat argument for search direction and separator. (Rob
Pilling, closes vim/vim#5665 )
https://github.com/vim/vim/commit/c036e87bd7001238ab7cc5d9e30e59bbf989a5fd
2021-04-04 14:43:22 -04:00
Björn Linse
a4d3804837
Border: allow to enable/disable specific border edges
2021-04-04 18:32:31 +02:00
Björn Linse
3d6831a30a
api: fix use-after-free in nvim_chan_send
2021-04-04 18:11:48 +02:00
Jan Edmund Lazo
76f5c72860
Merge pull request #14063 from lewis6991/master
...
vim-patch:8.1.{1631,1682,1899}: sign improvements
2021-04-04 10:28:16 -04:00
Björn Linse
ce976bf355
Merge pull request #14278 from chentau/extmark_retab
...
extmark: buffer update fixes for `noexpandtab` and `:retab`
2021-04-04 09:42:34 +02:00
erw7
8e496b9dfd
Merge pull request #14268 from erw7/fix-p_ch-problem
...
screen: fix problem with p_ch
2021-04-04 12:04:36 +09:00
erw7
8ed0a0d4db
Merge pull request #14094 from erw7/improve-get-bg
...
tui: improve support for tmux, GNU Screen
2021-04-04 12:03:33 +09:00
Jan Edmund Lazo
0dfb4e2765
Merge pull request #14282 from janlazo/vim-8.2.2695
...
vim-patch:8.2.{2695,2697,2700,2701,2702}
2021-04-03 21:09:26 -04:00
Jan Edmund Lazo
53cceda52d
vim-patch:8.2.2702: compiler completion test fails when more scripts are added
...
Problem: Compiler completion test fails when more scripts are added.
Solution: Add a more generic pattern.
https://github.com/vim/vim/commit/c17ba791a9edfa12926ce29f1eef39044bee5ab7
2021-04-03 20:31:17 -04:00
Jan Edmund Lazo
ffef1519ca
vim-patch:8.2.2697: function list test fails
...
Problem: Function list test fails.
Solution: Add missing function. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/0df603014589c663f4b49dc6fd36c3b99db1718f
2021-04-03 20:26:05 -04:00
Jan Edmund Lazo
3a623fd5cf
vim-patch:8.2.2695: cursor position reset with nested autocommands
...
Problem: Cursor position reset with nested autocommands.
Solution: Only check and reset line numbers for not nested autocommands.
(closes vim/vim#5820 )
https://github.com/vim/vim/commit/1e6bbfb5607c82d872070219c26e2aae20db68ed
N/A patches for version.c:
vim-patch:8.2.2700: nested autocmd test fails sometimes
Problem: Nested autocmd test fails sometimes.
Solution: Wait for the job to finish.
https://github.com/vim/vim/commit/6437475ffb421d6ac35572aa779ff24b70c5206b
vim-patch:8.2.2701: order of removing FORTIFY_SOURCE is wrong
Problem: Order of removing FORTIFY_SOURCE is wrong.
Solution: Use the more specific pattern first.
https://github.com/vim/vim/commit/26f201345dadef2a048db5aea804f6c1b54f1a0b
2021-04-03 20:25:59 -04:00
Lewis Russell
d82b599ea5
vim-patch:8.1.1899: sign_place() does not work as documented
...
Problem: sign_place() does not work as documented.
Solution: Make accept line numbers like line(). (Yegappan Lakshmanan,
closes #4848 )
2021-04-03 23:56:55 +01:00
Lewis Russell
5257bce979
vim-patch:8.1.1682: placing a larger number of ...
...
...signs is slow
Problem: Placing a larger number of signs is slow.
Solution: Add functions for dealing with a list of signs. (Yegappan
Lakshmanan, closes #4636 )
2021-04-03 23:56:54 +01:00
Lewis Russell
0b7e5eeb62
vim-patch:8.1.1631: displaying signs is inefficient
...
+ support for neovim's dynamic width signcolumn
Problem: Displaying signs is inefficient.
Solution: Avoid making multiple calls to get information about a placed
sign. (Yegappan Lakshmanan, closes #4586 )
2021-04-03 23:39:56 +01:00
Björn Linse
804ea22944
Merge pull request #14226 from bfredl/luarefcount
...
lua: track reference ownership with ASAN when present
2021-04-03 17:48:39 +02:00