Björn Linse
c3a3e65428
refactor(api): break out vim_to_object/object_to_vim to own file
2021-10-29 15:52:28 +02:00
jdrouhard
d1c470957b
feat(lsp): track pending+cancel requests on client object #15949
2021-10-29 05:45:01 -07:00
Fabian
1dbbaf89bf
fix(eval): checking for a non-empty string is too strict ( #15987 )
...
Cherry-pick check_for_nonempty_string() from patch vim-8.2.2133 and
apply it on the bases of https://github.com/neovim/neovim/pull/13489
2a9d5d386b
2021-10-28 22:13:40 -04:00
Jaehwang Jerry Jung
bb79e05f81
vim-patch:8.2.3556: filler lines are incorrect for other window in diff mode ( #16164 )
...
Problem: Filler lines are incorrect for other window in diff mode after
making a change.
Solution: Copy filler lines from the current window. (closes vim/vim#8809 )
841c225b9e
2021-10-28 22:04:57 -04:00
James McCoy
4a618b00bc
Merge pull request #16141 from dundargoc/ci/split-jobs
2021-10-28 11:57:17 -04:00
Dundar Göc
a91a5c1880
ci: run functionaltest-lua on drafts as well
2021-10-28 10:55:26 +02:00
zeertzjq
7ff1bc18a9
fix(float): redraw if w_border_adj changed
2021-10-28 06:32:36 +08:00
zeertzjq
de670f3809
fix(float): fix potential heap corruption in win_redr_border
2021-10-28 06:32:36 +08:00
Sean Dewar
d918759dee
test(vim_spec): fix MSVC_32 skip for nvim_parse_expression test ( #16161 )
...
"works with &opt" is flaky; now it always fails after #15999 for some reason.
This test was skipped in #10773 due to previous flakiness, but after the switch away from appveyor
the check no longer works. Just skip for any CI running the MSVC_32 job.
2021-10-27 16:27:17 -06:00
dundargoc
3e1ef18579
ci: add newly added api file extmark.c to gen-vimdoc ( #16158 )
2021-10-27 11:42:19 -06:00
Björn Linse
a5d6f36fc7
Merge pull request #16125 from dundargoc/refactor/lua/split-executor
...
refactor: split lua/executor.c into two files
2021-10-26 21:43:13 +02:00
Dundar Göc
13d331ef0d
refactor: split executor.c into two files
2021-10-26 21:04:52 +02:00
Michael Lingelbach
6cc456deeb
feat(ci): add backport PR action ( #14766 )
...
Trigger the backport action upon merge by marking a PR with the label `backport <branchname>` or after merge by applying the label and writing a comment containing `/backport`.
2021-10-26 08:45:15 -07:00
James McCoy
5e207a65e3
Merge pull request #16149 from zeertzjq/man-clean
2021-10-26 10:12:35 -04:00
Björn Linse
f75d00456d
Merge pull request #16147 from bfredl/neomark
...
refactor(api): move extmark API to its own file
2021-10-26 10:45:11 +02:00
zeertzjq
72309d13b4
docs(manpage): update description of --clean
2021-10-26 07:03:14 +08:00
Björn Linse
c8882ca7e7
refactor(api): move extmark API to its own file
2021-10-25 22:33:40 +02:00
Björn Linse
09e96fe609
Merge pull request #16124 from mjlbach/feat/bjorn-bait
...
feat: add vim.str_utf_pos
2021-10-24 16:20:16 +02:00
Michael Lingelbach
d752cbc4d2
feat: add vim.str_utf_pos function
...
vim.str_utf_pos returns the codepoints for all utf-8 chars (only, currently)
in a string
2021-10-24 03:35:38 -07:00
Matěj Cepl
b092171e7c
vim-patch:8.2.3525: option variable name does not match option name
...
Problem: Option variable name does not match option name. (Christ van
Willigen)
Solution: Rename the variable.
d4c4bfa007
2021-10-24 08:57:30 +02:00
Yorick Peterse
6acebb8b56
vim-patch:8.2.3547: opening the quickfix window triggers BufWinEnter twice ( #16108 )
...
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
Peterse)
Solution: Only trigger BufWinEnter with "quickfix". (closes vim/vim#9022 )
1d30fde3c9
2021-10-23 21:55:04 -04:00
Matěj Cepl
36ff5976b9
vim-patch:8.2.3521: options completion test fails
...
Problem: Options completion test fails.
Solution: Add 'thesaurusfunc' to the results.
abdcfd1c83
2021-10-23 22:30:53 +02:00
Matěj Cepl
cbec765915
vim-patch:8.2.3520: cannot define a function for thesaurus completion
...
Problem: Cannot define a function for thesaurus completion.
Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes vim/vim#8987 ,
closes 8950)
160e994d76
2021-10-23 22:30:50 +02:00
Christian Clason
9f392c071a
vim-patch:partial 079ba76ae7a7 ( #16126 )
...
Update runtime files
079ba76ae7
skip optwin.vim (needs 8.2.3520)
skip doc/options.txt (needs 8.2.1535)
skip doc/insert.txt (needs 8.2.3528)
2021-10-23 22:29:17 +02:00
Björn Linse
966e605db9
Merge pull request #16128 from bfredl/vluapack
...
feat(lua): document support of packages with v:lua syntax
2021-10-23 21:44:30 +02:00
dundargoc
96ce6327a3
vim-patch:8.2.3542: too many comments are old style ( #16096 )
...
Problem: Too many comments are old style.
Solution: Change comments to // style. (closes vim/vim#9021 )
c5935a859e
2021-10-23 13:58:56 -04:00
dundargoc
4a0acd6fac
vim-patch:8.2.0026: still some /* */ comments ( #16088 )
...
Problem: Still some /* */ comments.
Solution: Convert to // comments.
85a2002adb
2021-10-23 13:56:43 -04:00
Jan Edmund Lazo
bb9e6a1583
Merge pull request #16111 from dundargoc/vim-patch/comments
...
vim-patch:8.1.2368,8.1.2378,8.1.2379,8.1.2380,8.1.2387,8.1.2388,8.1.2392,8.1.2394,8.1.2395,8.1.2396
2021-10-23 13:05:19 -04:00
Björn Linse
9dd371bb2e
feat(lua): document support of packages with v:lua syntax
...
this already worked in 0.5 but was not properly documented or tested
2021-10-23 18:24:00 +02:00
Björn Linse
fa4b24072e
Merge pull request #16029 from bfredl/multiline
...
feat(decorations): support more than one virt_lines block
2021-10-23 16:54:49 +02:00
Björn Linse
8d7816cf27
feat(decorations): support more than one virt_lines block
2021-10-23 14:17:09 +02:00
Björn Linse
8ade2f5b04
refactor(decorations): mark decorations directly on the marktree
...
This allows to more quickly skip though regions which has non-decorative
marks when redrawing. This might seem like a gratuitous
micro-optimization in isolation.
But!
Soon decorations are gonna crop into other hot inner-loop paths,
including the plines.c code for calculating the horizontal and
vertical space of text. Then we want to quickly skip over regions with
"only" overlaying decorations (which do not affect text size)
2021-10-23 11:11:00 +02:00
Folke Lemaitre
cb15055c29
fix(lsp): cleanup progress messages for the correct client ( #16110 )
2021-10-21 09:36:27 -07:00
Michael Lingelbach
80456cf836
feat(lsp): add exit_timeout flag ( #16070 )
...
* This flag allows customizing the time before sending kill -15 to the
server. If set to false, neovim exits immediately after sending
request('shutdown'). Otherwise, polls until all servers have shutdown,
and then kills remaining servers via kill -15 at exit_timeout
duration. Defaults to 500 ms.
2021-10-21 09:36:01 -07:00
Christian Clason
eaa03b7181
vim-patch:8.2.3550: completion() does not work properly ( #16112 )
...
* vim-patch:8.2.3550: completion() does not work properly
Problem: completion() does not work properly.
Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
closes vim/vim#9016 )
ae38a9db77
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
2021-10-21 17:46:24 +02:00
Dundar Göc
e59c0009a7
vim-patch:8.1.2396: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
e38eab22c1
2021-10-21 12:07:15 +02:00
Dundar Göc
8000f6d566
vim-patch:8.1.2395: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
0d6f5d9740
2021-10-21 12:07:14 +02:00
Dundar Göc
daf670dde6
vim-patch:8.1.2394: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
63d9e730f7
2021-10-21 12:07:14 +02:00
Dundar Göc
ce441b8b13
vim-patch:8.1.2392: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
6e0ce171e1
2021-10-21 12:07:14 +02:00
Dundar Göc
df27579f54
vim-patch:8.1.2388: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
4ba37b5833
2021-10-21 12:07:14 +02:00
Dundar Göc
1d54153ee0
vim-patch:8.1.2387: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2ab2e8608f
2021-10-21 12:07:14 +02:00
Dundar Göc
050130ce12
vim-patch:8.1.2380: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
306139005c
2021-10-21 12:07:14 +02:00
Dundar Göc
f677ba4dab
vim-patch:8.1.2379: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
217e1b8359
2021-10-21 12:07:14 +02:00
Dundar Göc
122c0dfb5d
vim-patch:8.1.2378: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
5d18efecfd
2021-10-21 12:07:14 +02:00
Dundar Göc
d5894ada70
vim-patch:8.1.2368: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
c667da5185
2021-10-21 12:07:14 +02:00
Matthieu Coudron
d0f10a7add
Merge pull request #14794 from BK1603/gdbserver_fix
...
functionaltest: fix running tests under gdbserver
2021-10-20 21:27:40 +02:00
dundargoc
81717d2461
vim-patch:8.1.2243: typos in comments ( #16104 )
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes vim/vim#5160 ) Also adjust
formatting a bit.
32aa10203b
2021-10-20 12:19:14 -07:00
Michael Lingelbach
c5525f265b
fix(lsp): avoid duplicates in client attached buffers ( #16099 )
...
closes https://github.com/neovim/neovim/issues/16058
* add client.attached_buffers
* only update client.attached_buffers in on_attach
* use table instead of list for attached_buffers to avoid duplication
2021-10-20 09:33:09 -07:00
Mathias Fußenegger
dc6c9fe442
fix(lsp): adjust legacy show diagnostic functions to use correct scope ( #16106 )
...
* `where` was renamed to `scope`
2021-10-20 08:27:55 -07:00
Björn Linse
f421718d8d
Merge pull request #16086 from bfredl/termpipe_input
...
feat(nvim_open_term): support input callback in lua
2021-10-20 14:27:28 +02:00