Jan Edmund Lazo
0e1dd0a502
spell: towupper(),towlower() are not called
2020-01-26 17:44:24 -05:00
Jan Edmund Lazo
ad272cd2d7
vim-patch:8.1.1144: too strict checking of the 'spellfile' option
...
Problem: Too strict checking of the 'spellfile' option.
Solution: Allow for a path.
862f1e17ea
2020-01-26 17:38:31 -05:00
Jan Edmund Lazo
08c5a874ab
vim-patch:8.1.1143: may pass weird strings to file name expansion
...
Problem: May pass weird strings to file name expansion.
Solution: Check for matching characters. Disallow control characters.
8f130eda47
2020-01-26 17:38:30 -05:00
Jan Edmund Lazo
d5322c8381
spellfile: set_spell_chartab() is dead code
2020-01-26 10:33:01 -05:00
Jan Edmund Lazo
eab052eca2
spell_defs: remove enc_utf8 redundant checks
2020-01-26 10:33:01 -05:00
Jan Edmund Lazo
86c1630a1b
spell: remove enc_utf8 dead code
2020-01-26 10:33:01 -05:00
Jan Edmund Lazo
6c7a995c5f
spell: zero-init structs to fix garbage ptrs
2020-01-26 10:33:00 -05:00
Björn Linse
6f073ccbf4
Merge pull request #11755 from bfredl/qf_msg
...
screen: add missing redraws after a message
2020-01-26 15:38:04 +01:00
Björn Linse
687fc527de
screen: add missing redraws after a message
2020-01-26 13:45:20 +01:00
Justin M. Keyes
07a105f0cb
terminal: trim CWD slash #11762
...
Trailing CWD slash in term:// buffer name breaks the BufReadCmd
handler.
Before:
term://~///25232:/bin/bash
After:
term://~//25232:/bin/bash
ref c6ff23d7a0
ref #11289
2020-01-26 02:13:37 -08:00
Chris LaRose
c6ff23d7a0
terminal: absolute CWD in term:// URI #11289
...
This makes it possible to restore the working directory of :terminal
buffers when reading those buffers from a session file.
Fixes #11288
Co-authored-by: Justin M. Keyes <justinkz@gmail.com >
2020-01-26 00:24:42 -08:00
Jan Edmund Lazo
451af7f087
vim-patch:8.1.2171: mouse support not always available #11761
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
a1cb1d1dce
2020-01-25 22:05:04 -08:00
Justin M. Keyes
cbcb50dcc9
shell: "..." instead of "[...]" #11760
...
0c1be45ea0
changed pulse logic to output "[...]" instead of nothing.
But that doesn't align with the "..." pulse which may follow it.
ref #11130
2020-01-25 16:49:53 -08:00
Jan Edmund Lazo
94ad6652f1
Remove enc_utf8,has_mbyte dead code
2020-01-25 18:09:17 -05:00
Jan Edmund Lazo
9d826700f7
vim-patch:8.1.2245: third character of 'listchars' tab shows in wrong place
...
Problem: Third character of 'listchars' tab shows in wrong place when
'breakindent' is set.
Solution: Set c_final to NUL. (Naruhiko Nishino, closes vim/vim#5165 )
2f7b7b1e12
2020-01-24 02:17:21 -05:00
Jan Edmund Lazo
e22d0cf12c
vim-patch:8.2.0147: block Visual mode operators not correct when 'linebreak' set
...
Problem: Block Visual mode operators not correct when 'linebreak' set.
Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes vim/vim#5524 )
03c3bd9fd0
2020-01-24 02:02:40 -05:00
Jan Edmund Lazo
376fa27237
vim-patch:8.2.0146: wrong indent when 'showbreak' and 'breakindent' are set
...
Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
'briopt' includes "sbr".
Solution: Reset "need_showbreak" where needed. (Ken Takata, closes vim/vim#5523 )
dfede9a70b
2020-01-23 19:31:11 -05:00
Billy Su
961c528afc
ex_getln.c: wildmenu add cancel and apply ops
2020-01-23 12:12:42 +08:00
Jan Edmund Lazo
71ee46accf
vim-patch:8.2.0141: no swift filetype detection ( #11747 )
...
Problem: No swift filetype detection.
Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes vim/vim#5517 )
0d76683e09
2020-01-23 02:21:05 +01:00
Björn Linse
91bd1ddf3b
Merge pull request #11740 from Billy4195/fix_jobstop
...
make jobstop() return 0 instead of throw error for already stopped job
2020-01-22 19:23:29 +01:00
Billy Su
041ec8997a
Fix f_jobstop() failed loudly
...
The return value of jobstop()
@return 1 for valid job id
0 for invalid id, including jobs have exited or stopped
2020-01-22 17:30:43 +08:00
Billy SU
e53e860759
vim-patch:8.1.0061: fix resetting, setting 'title' #11733
...
Problem: Window title is wrong after resetting and setting 'title'.
Solution: Move resetting the title into maketitle(). (Jason Franklin)
84a9308511
2020-01-21 23:47:32 -08:00
akovaski
97dcc48c99
wildmode: fix wildmode=longest,full with pum #11690
...
With "wildmode=longest,full" + wildoptions=pum, wildmode should show
popupmenu after Tab-Tab, not the horizontal wildmenu.
Fixes #11622
2020-01-21 00:35:01 -08:00
Jan Edmund Lazo
da0cd5436b
doc: provider-perl
...
Enable 'has("perl")' as an alias for 'g:loaded_perl_provider'.
TODO:
- +perl interface
2020-01-20 19:43:59 -05:00
butwerenotthereyet
f245c0218a
tabpage: "tabnext #" switches to previous tab #11734
2020-01-20 15:14:51 -08:00
Björn Linse
48a869dc6d
shed biking: it's always extmarks, never marks extended
2020-01-20 19:36:35 +01:00
Matthieu Coudron
4d4035400e
Merge pull request #11715 from teto/fix_fillchar
...
[RDY] fillchars: fix display on closed fold
2020-01-20 18:39:17 +01:00
Justin M. Keyes
270cd623ef
Merge #11735 ':tabs : show # for previous tabpage'
2020-01-19 22:25:53 -08:00
We're Yet
8e385eb46a
tabpage: :tabs indicates previous tabpage's curwin
2020-01-19 14:30:12 -08:00
Justin M. Keyes
198d94da0b
Merge #11737 from janlazo/vim-8.1.2421
...
vim-patch:8.1.{2031,2421}
2020-01-19 13:28:50 -08:00
Björn Linse
75c2c4e1b4
Merge pull request #11736 from bfredl/tenc
...
restore old 'termencoding' behavior
2020-01-19 20:11:19 +01:00
Björn Linse
b3974e4437
restore old 'termencoding' behavior
...
Partially reverts #11647 . Replaces #11662
The old implementation was removed without clear motivation. The "term option"
hackaround added in its place is neither shorter nor simpler.
The new behavior breaks even init.vim that expliticly check against it:
if exists('&termencoding')
set termencoding=utf-8
endif
There was nothing wrong with the 0.4.x behavior. Empty &tenc has
indicated that the &enc value should be used for all the history of
Nvim. Ignoring setting the option is the expected behavior for Vim
versions that does not support the option (and Nvim is such a version)
'tenc' was also irrelevant to the Test_unicode python3 test.
The reason this has to be disabled is that neovim can't change
internal 'encoding'
2020-01-19 16:07:52 +01:00
Jan Edmund Lazo
f5cc5153c6
vim-patch:8.1.2421: test88 is old style
...
Problem: Test88 is old style.
Solution: Turn into a new style test. (Yegappan Lakshmanan, closes vim/vim#5347 )
213ed008bb
'test_conceal.vim' requires +conceal and +terminal so it is N/A.
2020-01-19 10:06:19 -05:00
Jan Edmund Lazo
58033e15d5
vim-patch:8.1.2031: cursor position wrong when resizing and using conceal
...
Problem: Cursor position wrong when resizing and using conceal.
Solution: Set the flags that the cursor position is valid when setting the
row and column during redrawing. (closes vim/vim#4931 )
5babc6e858
2020-01-19 09:47:57 -05:00
Justin M. Keyes
156c25e498
WinClosed: sort auevents.lua; improve tests
...
- test: reduce verbosity, condense redundancy, improve readability
- auevents.lua: keep events sorted by name. ref afd1d412fa
2020-01-18 21:32:14 -08:00
notomo
2b8e66c6ce
autocmd: WinClosed exposes window id as <afile>
2020-01-18 17:06:03 -08:00
Marcos ALMEIDA
757aad92e8
autocmd: add WinClosed event
...
- only fire once, just before freeing mem
- trigger when on a different buffer
- avoid recursive calls in another tab
2020-01-18 17:06:03 -08:00
Jan Edmund Lazo
ad35cbca76
vim-patch:8.2.0123: complete_info() does not work when CompleteDone is triggered
...
Problem: complete_info() does not work when CompleteDone is triggered.
Solution: Trigger CompleteDone before clearing the info.
17e04781f2
2020-01-17 23:46:00 -05:00
Jan Edmund Lazo
3d0c3148fb
vim-patch:8.1.1139: no test for what is fixed in patch 8.1.0716
...
Problem: No test for what is fixed in patch 8.1.0716.
Solution: Add a test. (Yasuhiro Matsumoto, closes vim/vim#3797 )
9845f36aa6
2020-01-17 23:18:25 -05:00
Jan Edmund Lazo
9a9bb9186a
vim-patch:8.1.0716: get warning message when 'completefunc' returns nothing
...
Problem: Get warning message when 'completefunc' returns nothing.
Solution: Allow for returning v:none to suppress the warning message.
(Yasuhiro Matsumoto, closes vim/vim#3789 )
cee9bc2e3d
2020-01-17 23:09:32 -05:00
Jan Edmund Lazo
a7aa1fc87d
spell: spell_soundfold_sal() is dead code
2020-01-17 19:06:51 -05:00
Jan Edmund Lazo
1042338c00
clang/'Logic error': zero-init struct
2020-01-17 19:06:50 -05:00
Jan Edmund Lazo
d811fab0ad
vim-patch:8.2.0120: virtcol() does not check arguments to be valid
...
Problem: virtcol() does not check arguments to be valid, which may lead to
a crash.
Solution: Check the column to be valid. Do not decrement MAXCOL.
(closes vim/vim#5480 )
b3d33d8570
2020-01-17 19:06:50 -05:00
Jan Edmund Lazo
03da3697a4
vim-patch:8.2.0112: illegal memory access when using 'cindent'
...
Problem: Illegal memory access when using 'cindent'.
Solution: Check for NUL byte. (Dominique Pelle, closes vim/vim#5470 )
02ad46394e
2020-01-17 19:06:50 -05:00
erw7
1e4f290691
Remove termtype option
2020-01-17 11:36:28 +01:00
erw7
c86d5fa981
Change to replace stderr with conout
2020-01-17 11:36:28 +01:00
erw7
4e06594c53
Add missing include file
2020-01-17 11:36:28 +01:00
erw7
a5a3d7160d
Change option name from termwintype to termtype
2020-01-17 11:36:28 +01:00
erw7
8f91d709b0
Rename from os_win_conpty.{c,h} to pty_conpty_win.{c,h}
2020-01-17 11:36:28 +01:00
erw7
2c8016c704
Add stdin, stdout replacement functions
2020-01-17 11:36:28 +01:00