Jan Edmund Lazo
0d967f0298
Merge pull request #16362 from zeertzjq/vim-8.2.3617
...
vim-patch:8.2.{3468,3617,3618,3622}: some other CWD related patches
2021-11-21 17:47:09 -05:00
Michal Liszcz
85707a3395
vim-patch:8.2.3255: ci" finds following string but ci< and others don't ( #16324 )
...
Problem: ci" finds following string but ci< and others don't.
Solution: When not inside an object find the start. (Connor Lane Smit,
closes vim/vim#8670 )
b9115da4be
2021-11-21 14:00:50 -05:00
Volodymyr Kot
9d0726f6d8
vim-patch:8.1.1606: on a narrow screen ":hi" output is confusing ( #16388 )
...
Problem: On a narrow screen ":hi" output is confusing.
Solution: Insert a space between highlight group name and "xxx". (Masato
Nishihaga, closes vim/vim#4599 )
548be7f126
2021-11-21 13:10:24 -05:00
ii14
9d868317f9
vim-patch:8.2.3638: getcompletion() always passes zero as position ( #16387 )
...
Problem: getcompletion() always passes zero as position to custom
completion function.
Solution: Pass the pattern length. (closes vim/vim#9173 )
4785fe02bb
Co-authored-by: ii14 <ii14@users.noreply.github.com >
2021-11-21 13:00:51 -05:00
Jan Edmund Lazo
120a881630
Merge pull request #14540 from Shougo/fix_vim8.1.1378
...
[RFC] Improve tests
2021-11-20 22:46:34 -05:00
Volodymyr Kot
2bd8f2fb5e
vim-patch:8.1.0753: printf format not checked for semsg() ( #16378 )
...
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805 )
b5443cc46d
(Most of the changes do not apply because Neovim already uses PRId64 and other spelling mistakes were already fixed.)
2021-11-20 13:26:16 +01:00
dundargoc
725cbe7d41
refactor: saner options for uncrustify ( #16204 )
...
* sp_enum_after_assign = force
* sp_brace_typedef = force
* nl_do_brace = remove
* sp_do_brace_open = force
* sp_brace_close_while = force
* sp_before_semi = remove
* sp_before_semi_for = remove
* sp_before_semi_for_empty = remove
* sp_between_semi_for_empty = remove
* sp_after_semi_for_empty = remove
* sp_before_square = remove
* sp_before_squares = remove
* sp_inside_square = remove
* sp_inside_fparens = remove
* sp_inside_fparen = remove
* sp_inside_tparen = remove
* sp_after_tparen_close = remove
* sp_return_paren = force
* pos_bool = lead
* sp_pp_concat = remove
* sp_pp_stringify = remove
* fixup: disable formatting for the INIT section
2021-11-19 14:21:53 -05:00
James McCoy
9ec4417afc
Merge pull request #16066 from neovim/marvim/ci-version-update
...
version.c: update [skip ci]
2021-11-19 11:54:24 -05:00
Christian Clason
a7ad509902
fix(eval): fixup for empty modifier in fnamemodify ( #16368 )
...
* fix(eval): fixup for empty modifier in fnamemodify
1dbbaf89bf
erroneously removed a check for empty modifier and a PVS fix.
Restore that check and fix.
Fixes #16367
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2021-11-19 16:13:49 +01:00
zeertzjq
349b9ce9df
vim-patch:8.2.3622: "verbose pwd" shows confusing info
...
Problem: "verbose pwd" shows confusing info when :lcd does not change
directory.
Solution: Clear last_chdir_reason also when the directory does not change.
(closes vim/vim#9160 )
64be6aa3a5
This only ports the tests, as this is already Nvim's behavior.
2021-11-19 20:07:04 +08:00
zeertzjq
3d504f27a0
vim-patch:8.2.3618: getcwd() is unclear about how 'autochdir' is used
...
Problem: getcwd() is unclear about how 'autochdir' is used.
Solution: Update the help for getcwd(). Without any arguments always return
the actual current directory. (closes vim/vim#9142 )
851c7a699a
2021-11-19 20:07:04 +08:00
zeertzjq
54e9cce612
revert: partially revert #9894
...
Vim has a solution to #9892 with fewer side-effects in patch 8.2.3618
2021-11-19 20:07:04 +08:00
zeertzjq
4785cad8ee
vim-patch:8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied
...
Problem: ":verbose pwd" does not mention 'autochdir' was applied.
Solution: Remember the last chdir was done by 'autochdir'. (issue vim/vim#9142 )
0526815c15
2021-11-19 20:07:04 +08:00
zeertzjq
0f58ba10e2
vim-patch:8.2.3468: problem with :cd when editing file in non-existent directory
...
Problem: Problem with :cd when editing file in non-existent directory. (Yee
Cheng Chin)
Solution: Prepend the current directory to get the full path. (closes vim/vim#8903 )
c6376c7984
2021-11-19 20:07:04 +08:00
Shougo Matsushita
e9819ca709
fix: error
2021-11-19 13:45:41 +09:00
Shougo Matsushita
c11cf6b415
test: save clipboard
2021-11-19 13:45:41 +09:00
Shougo Matsushita
18d7ec36f3
fix: remove unnecessary changes
2021-11-19 13:45:41 +09:00
Shougo Matsushita
a11cec08e5
fix: for reviews
2021-11-19 13:45:41 +09:00
Shougo Matsushita
dd63d93931
fix: disable clipboard when test registers
2021-11-19 13:45:40 +09:00
Shougo Matsushita
77c2edcacb
fix: remove previous executed directories to execute tests locally
2021-11-19 13:45:40 +09:00
Shougo Matsushita
4cb8a399c7
fix: add cd for local execution
2021-11-19 13:45:40 +09:00
Shougo Matsushita
133d79a358
vim-patch:8.2.3616: arglist test does not clear the argument list consistently
...
Problem: Arglist test does not clear the argument list consistently.
Solution: Call Reset_arglist(). (Shougo Matsushita, closes vim/vim#9154 )
3cad470385
2021-11-19 13:45:29 +09:00
marvim
b43b6efa34
version.c: update [skip ci]
2021-11-19 03:07:56 +00:00
zeertzjq
36538417f0
vim-patch:01164a6546b4 ( #16335 )
...
missing changes to src/nvim/po/check.vim from 01164a6546 (diff-ed3e88d59856bb5b62b2a394fb8c7293cd5794531e0718c0aa2d3d768d7973d1)
2021-11-17 21:28:20 -05:00
zeertzjq
1f68a21d66
vim-patch:8.2.3593: directory is wrong after executing "lcd" with win_execute() ( #16314 )
...
Problem: Directory is wrong after executing "lcd" with win_execute().
Solution: Correct the directory when going back to the original window.
(closes vim/vim#9132 )
7f13b24ab6
2021-11-17 21:18:55 -05:00
zeertzjq
dba3590a0e
vim-patch:8.2.3591: no event is triggered when closing a window ( #16306 )
...
Problem: No event is triggered when closing a window.
Solution: Add the WinClosed event. (Naohiro Ono, closes vim/vim#9110 )
23beefed73
Nvim has already implemented this feature, so this only changes tests
and docs.
2021-11-17 21:11:09 -05:00
zeertzjq
5ff972cafe
vim-patch:8.2.3522: cannot use \x and \u when setting 'listchars' ( #16049 )
...
Problem: Cannot use \x and \u when setting 'listchars'.
Solution: Support hex and unicode in hex form. (closes vim/vim#9006 )
93ff6720fe
2021-11-17 20:55:59 -05:00
dundargoc
eba317d7a9
refactor: reduce number of explicit char casts ( #16077 )
...
* refactor: reduce number of explicit char casts
2021-11-16 20:27:59 +01:00
Christian Clason
99211b008c
vim-patch:8.2.3604: not all sudoers files are recognized ( #16338 )
...
Problem: Not all sudoers files are recognized.
Solution: Add a file pattern. (Doug Kearns, closes vim/vim#1192 )
c143fa0778
2021-11-16 18:34:39 +01:00
Christian Clason
b5eab2a98a
vim-patch:8.2.3603: fish filetype not recognized ( #16337 )
...
Problem: Fish filetype not recognized.
Solution: Add a file pattern and match script line. (Doug Kearns)
b1b163efd7
2021-11-16 18:26:03 +01:00
Christian Clason
b20429c8a5
vim-patch:8.2.3599: not all gdbinit files are recognized
...
Problem: Not all gdbinit files are recognized.
Solution: Add "gdbinit". (Doug Kearns)
782b4bbc16
2021-11-16 12:40:50 +01:00
Christian Clason
e5ef736dfe
vim-patch:8.2.3598: RouterOS filetype is not recognized
...
Problem: RouterOS filetype is not recognized.
Solution: Add file and script patterns. (closes vim/vim#9097 )
0818ab82e7
2021-11-15 23:03:10 +01:00
Jan Edmund Lazo
8f984dc1f2
Merge pull request #16047 from mcepl/vim-8.2.3520
...
vim-patch:8.2.3520: cannot define a function for thesaurus completion
2021-11-14 21:23:42 -05:00
Björn Linse
1450a6f753
refactor(macroman): get rid of MB_COPY_CHAR macro
...
clean up docs for MB_PTR_ADV and MB_PTR_BACK
2021-11-14 17:08:50 +01:00
Björn Linse
54ff21a153
refactor(macros): delete multibyte macros which just are aliases
2021-11-14 16:33:12 +01:00
Björn Linse
71a4d275dc
refactor(multibyte): eliminate mb_char2len alias for utf_char2len
2021-11-14 12:49:12 +01:00
Björn Linse
0039ba04b0
refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2len
2021-11-14 12:49:12 +01:00
Björn Linse
9f27e6cbe7
refactor(multibyte): eliminate mb_char2cells alias for utf_char2cells
2021-11-14 12:49:09 +01:00
Daniel Steinberg
e8631cb8a6
fix(float): skip non-focusable windows for :windo ( #15378 )
2021-11-11 11:05:18 -07:00
zeertzjq
a502a7a731
fix(channel): fix channels opened by nvim_open_term() never being freed
2021-11-11 09:34:23 +08:00
zeertzjq
3b89fee246
fix(channel): throw error if sending to internal channel w/o terminal
...
Prevent SIGABRT when sending to a channel created by nvim_open_term()
after the associated terminal has been deleted.
2021-11-11 09:34:23 +08:00
zeertzjq
14def4d227
fix(terminal): free terminal if close_buffer() closes a closed terminal ( #16264 )
...
Use the (currently unused) 'destroy' field of the terminal struct as a
flag to indicate that the terminal's destruction is imminent (and
therefore it's close callback should not be called again).
Co-authored-by: Gregory Anders <greg@gpanders.com >
2021-11-10 15:28:55 -07:00
Christian Clason
8cbe100fcc
vim-patch:partial 113cb513f76d ( #16260 )
...
Update runtime files
113cb513f7
skip doc/eval.txt
skip doc/insert.txt
skip doc/user_06.txt (needs 8.2.3562)
partial skip doc/syntax.txt (needs 8.2.3562)
2021-11-08 00:10:44 +01:00
Björn Linse
77c54fc995
Merge pull request #16155 from zeertzjq/fix-redr-border-corruption
...
fix(float): fix potential heap corruption in win_redr_border
2021-11-06 22:32:28 +01:00
Gregory Anders
03b805aee6
feat(lua): enable stack traces in error output ( #16228 )
2021-11-06 08:26:10 -06:00
Matěj Cepl
2dc0af3a4f
vim-patch:8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
...
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
Solution: Make 'thesaurusfunc' global-local.
f4d8b76d30
2021-11-06 14:24:46 +01:00
Björn Linse
9e88c9c12f
fix(screen): make display_tick monotonic up to 2^64. fixes #16152
...
18446744073709551616 screen redraws should be enough for everyone.
2021-11-05 10:43:19 +01:00
Jan Alexander Steffens
3ba800f153
fix(tui): extend smglr ignores to smglp and smgrp ( #16239 )
...
The latter were added for xterm by ncurses 6.3 and are similarly
affected.
Fixes https://github.com/neovim/neovim/issues/16238
2021-11-04 20:36:16 -06:00
zeertzjq
5ce35abae6
fix(input): never reinterpret unmapped ALT- chrods in Terminal mode ( #16222 )
2021-11-04 07:43:05 -06:00
glacambre
52efcefcc8
fix: remove double slash in sysinit path
...
Closes https://github.com/neovim/neovim/issues/13187 .
2021-11-03 07:47:40 +01:00