Commit Graph

17867 Commits

Author SHA1 Message Date
Jan Edmund Lazo
5bf94259c1
clang/'Logic error': set vcol in do_put() 2021-04-02 08:23:40 -04:00
Thomas Vigouroux
3f7cd18c4a
Merge pull request #14218 from steelsojka/bugfix/check-queries-exist
fix(treesitter): check highlight queries exist
2021-04-02 05:24:49 +02:00
Kevin Svetlitski
da31f1c7dd
doc: Fix typo in the help for <Cmd> where lhs was used instead of rhs (#14272) 2021-04-01 21:50:02 -04:00
Michael Lingelbach
a03be1e44f
Merge pull request #14271 from mjlbach/feature/lsp_cwd
lsp: allow launching language servers with uv_spawn using cwd arg
2021-04-01 17:01:51 -07:00
Michael Lingelbach
3b01dd4183 lsp: allow launching language servers with uv_spawn using cwd arg 2021-04-01 14:24:37 -07:00
Jan Edmund Lazo
0bf24d3eb1
Merge pull request #14270 from janlazo/vim-8.2.2678
vim-patch:8.1.0986,8.2.{2678,2683,2686}
2021-04-01 16:55:50 -04:00
Jan Edmund Lazo
7959aaf781
vim-patch:8.2.2686: status line is not updated when going to cmdline mode
Problem:    Status line is not updated when going to cmdline mode.
Solution:   Redraw status lines if 'statusline' is set and going to status
            line mode. (based on patch from Justin M. Keyes et al.,
            closes vim/vim#8044)
ce0b75711a
2021-04-01 15:05:10 -04:00
Jan Edmund Lazo
b120bb8ea9
vim-patch:8.1.0986: rename() is not propertly tested
Problem:    rename() is not propertly tested.
Solution:   Add tests. (Dominique Pelle, closes vim/vim#4061)
ef8c956172

Skip Test_rename_fails() because 'blob' feature is not ported yet.

N/A patches for version.c:

vim-patch:8.2.2678: test for 'autoshelldir' does not reset the option

Problem:    Test for 'autoshelldir' does not reset the option.
Solution:   Reset the option after testing.
82820d9bf1

vim-patch:8.2.2683: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.
b91d3f857f
2021-04-01 11:58:02 -04:00
Jan Edmund Lazo
cee19696b6
Merge pull request #14222 from janlazo/v8.2.2655
vim-patch:8.2.{2655,2656}
2021-04-01 11:38:07 -04:00
Thomas Vigouroux
11bea67a55
fix: allow accessing vim.treesitter.language without require 2021-04-01 16:51:36 +02:00
Jan Edmund Lazo
6e9e8eb382
test/old/win: debug Test_w_arg 2021-04-01 10:45:56 -04:00
Jan Edmund Lazo
3784827f8d
vim-patch:8.2.2656: some command line arguments and regexp errors not tested
Problem:    Some command line arguments and regexp errors not tested.
Solution:   Add a few test cases. (Dominique Pellé, closes vim/vim#8013)
a2b3e7dc92

Cherry-pick Test_t_arg() from patch v8.2.0509.
2021-04-01 07:23:04 -04:00
Jan Edmund Lazo
3b04ba7544
vim-patch:8.2.2655: The -w command line argument doesn't work
Problem:    The -w command line argument doesn't work.
Solution:   Don't set 'window' when set with the -w argument. (closes vim/vim#8011)
0a1a6a1aa4

Cherry-pick Test_w_arg() from patch v8.2.0509.
2021-04-01 07:23:04 -04:00
Michael Lingelbach
3d25a72a60
Merge pull request #14264 from mjlbach/feature/handle_reloading_buffer
lsp: add on_reload callback for buffer edits outside of neovim
2021-04-01 01:08:39 -07:00
Michael Lingelbach
f738f089da
Merge pull request #14262 from mjlbach/feature/lsp_did_save_autocommand
lsp: clear did_save handler autocommand on each attach
2021-04-01 00:53:47 -07:00
Michael Lingelbach
5dfa937e4a
Merge pull request #14266 from mjlbach/fix/rename_workspace_symbol_request
lsp: fix textDocument/workspaceSymbol -> workspace/symbol
2021-04-01 00:37:28 -07:00
Michael Lingelbach
f87ae324bb lsp: fix textDocument/workspaceSymbol -> workspace/symbol 2021-03-31 23:53:07 -07:00
Michael Lingelbach
92e106ba23 lsp: add on_reload callback for buffer edits outside of neovim 2021-03-31 22:41:00 -07:00
Michael Lingelbach
08941e163e lsp: clear did_save handler autocommand on each attach 2021-03-31 20:23:17 -07:00
Jan Edmund Lazo
a177820420
Merge pull request #14259 from janlazo/fix-dictwatcherdel-crash
Fix dictwatcherdel crash
2021-03-31 19:22:11 -04:00
Jan Edmund Lazo
5e4fb9a7dd
os/win: fix build failure 2021-03-31 17:46:43 -04:00
Thomas Vigouroux
d55a69168f
Merge pull request #14245 from tjdevries/tjdevries/ts_override_hl
ts: Add per-language highlight links
2021-03-31 19:57:50 +02:00
TJ DeVries
d50f99f08b
fixup: remove unused test function 2021-03-31 18:09:03 +02:00
TJ DeVries
06c065469b
ts: Add per-language highlight links 2021-03-31 18:09:00 +02:00
Thomas Vigouroux
94c2ce2ce4
Merge pull request #14252 from tjdevries/tjdevries/ts_query_overrides
ts: Add per-language query overriding
2021-03-31 17:59:42 +02:00
Daniel Hahler
1c5e347b8c
more tests 2021-03-30 21:55:51 -04:00
Daniel Hahler
d6cac809b0
tv_dict_watcher_notify: any_needs_free 2021-03-30 21:55:51 -04:00
Daniel Hahler
aca002e7d5
test 2021-03-30 21:55:51 -04:00
Daniel Hahler
7268d49c50
tv_dict_watcher_remove: delay freeing with busy queue 2021-03-30 21:55:50 -04:00
erw7
36caafeb28
Change QUEUE_FOREACH macro to use while instead of for 2021-03-30 21:55:50 -04:00
Daniel Hahler
4c76b1e981
Test and initial fix for crash with dictwatcherdel
Fixes https://github.com/neovim/neovim/issues/11188.
2021-03-30 21:55:50 -04:00
Jan Edmund Lazo
c20ae3aadb
Merge pull request #14251 from janlazo/vim-8.1.1193
vim-patch:8.1.{936,1193}
2021-03-30 21:51:51 -04:00
Jan Edmund Lazo
608c03298a
vim-patch:8.1.0936: may leak memory when using 'vartabstop'
Problem:    May leak memory when using 'vartabstop'. (Kuang-che Wu)
Solution:   Fix handling allocated memory for 'vartabstop'. (closes vim/vim#3976)
55c77cf2ea
2021-03-30 19:56:13 -04:00
Michael Lingelbach
db47cf8153
Merge pull request #14233 from mjlbach/disable_utf16_conversion
lsp: use utf-8 when utf-16 not requested
2021-03-30 14:37:55 -07:00
Michael Lingelbach
0cadab1412 lsp: use utf-8 when utf-16 not requested 2021-03-30 14:14:09 -07:00
TJ DeVries
240cec9192
ts: Add language version to vim.treesitter (#14255) 2021-03-30 16:40:29 -04:00
TJ DeVries
d6209a7b84 fixup: Add a test and it is so pretty 2021-03-30 10:57:38 -04:00
TJ DeVries
04fb94cd80 ts: Add per-language query overriding 2021-03-30 08:25:11 -04:00
Jan Edmund Lazo
e491e77498
vim-patch:8.1.1193: typos and small problems in test files
Problem:    Typos and small problems in test files.
Solution:   Small improvements.
037c54f261

Include unmerged patch v8.0.1200 changes
because this patch depends on `set beloff=all` removed in 1 test.
2021-03-30 06:49:37 -04:00
zeertzjq
f89bfa6869
vim-patch:8.2.2454: leading space can not be made visible (#14138)
Problem:    Leading space can not be made visible.
Solution:   Add "lead:" to 'listchars'. (closes vim/vim#7772)
91478ae49a
2021-03-29 21:26:11 -04:00
Aditya Alok
291f1ece7f
added support for termux-clipboard : clipboard.vim (#14244)
Termux - Android terminal emulator
Link - https://termux.com/
2021-03-29 20:52:35 -04:00
Jan Edmund Lazo
3f447d928d
Merge pull request #14248 from andymass/vim-8.2.2612
[RFC] vim-patch 8.2.{2612,2613}
2021-03-29 20:46:44 -04:00
Jan Edmund Lazo
3c497e214f
Merge pull request #14238 from janlazo/vim-8.1.0958
vim-patch:8.1.{874,958,989,2380},8.2.{1621,2674}
2021-03-29 20:25:09 -04:00
Andy K. Massimino
756f559599 vim-patch:8.2.2613: new test throws exception
Problem:    New test throws exception.
Solution:   Adjust the function cleanup.
6ccfd99b92
2021-03-29 19:46:33 -04:00
Andy K. Massimino
b4aea3d1c8 vim-patch:8.2.2612: col('.') may get outdated column value
Problem:    col('.') may get outdated column value.
Solution:   Add a note to the help how to make this work and add a test for
            it. (closes vim/vim#7971)
18b7d86d7f
2021-03-29 19:46:00 -04:00
Jan Edmund Lazo
af2f0ffdf4
vim-patch:8.1.2380: using old C style comments
Problem:    Using old C style comments.
Solution:   Use // comments where appropriate.
306139005c
2021-03-29 19:34:45 -04:00
Jan Edmund Lazo
9d28875d50
vim-patch:8.1.0874: using old style comments in new file
Problem:    Using old style comments in new file.
Solution:   Convert to // comments in new file. (Yegappan Lakshmanan)
9c46efd7dc
2021-03-29 18:40:48 -04:00
Jan Edmund Lazo
4564f2c54f
vim-patch:8.2.1621: crash when using submatch(0, 1) in substitute()
Problem:    Crash when using submatch(0, 1) in substitute().
Solution:   Increment reference count. (closes vim/vim#6887)
8a0dcf4330

N/A patches for version.c:

vim-patch:8.2.2674: Motif: cancelling the font dialog resets the font

Problem:    Motif: cancelling the font dialog resets the font.
Solution:   When no font is selected to not change the font. (closes vim/vim#7825,
            closes vim/vim#8035)  Fix compiler warnings.
9dbe701fe1
2021-03-29 18:29:25 -04:00
Jan Edmund Lazo
375f957af6
vim-patch:8.1.0989: various small code ugliness
Problem:    Various small code ugliness.
Solution:   Remove pointless NULL checks. Fix function calls. Fix typos.
            (Dominique Pelle, closes vim/vim#4060)
bdace838c6
2021-03-29 18:29:25 -04:00
Jan Edmund Lazo
3dbcf69888
test/old: run most tests in test_regexp_latin.vim
Most tests here don't depend on 'set encoding=latin1'.

Skip Test_recursive_addstate() because of ASAN build.
2021-03-29 08:23:03 -04:00