Commit Graph

11872 Commits

Author SHA1 Message Date
Kwon-Young
d0c8dfc578 vim-patch:8.0.1089: range count in user command
Problem:    Cannot get range count in user command.
Solution:   Add <range> argument.
c168bd4bd3

close #8946
2018-09-13 10:20:34 +02:00
Jan Edmund Lazo
ea5337d9b5 vim-patch:8.0.1172: when E734 is given option is still set (#8988)
Problem:    When E734 is given option is still set.
Solution:   Assign NULL to "s". (Christian Brabandt)
2a6a6c3014
2018-09-13 07:52:31 +02:00
Justin M. Keyes
d5702a4534
Merge #8987 from justinmk/vim-8.1.0373 2018-09-13 01:51:17 +02:00
Justin M. Keyes
021f67df12 style: indent, then lint 2018-09-13 01:18:12 +02:00
Justin M. Keyes
ba27284f07 vim-patch:8.1.0374: moving the cursor is slow when 'relativenumber' is set
Problem:    Moving the cursor is slow when 'relativenumber' is set.
Solution:   Only redraw the number column, not all lines.
bd9a53c06c
2018-09-13 01:08:12 +02:00
Justin M. Keyes
e7a9c76ab0 vim-patch:8.1.0373: screen updating still slow when 'cursorline' is set
Problem:    Screen updating still slow when 'cursorline' is set.
Solution:   Fix setting last_cursorline.
1b7fefcbce
2018-09-13 00:32:14 +02:00
Justin M. Keyes
656648d855 Merge #8913 'popupmenu placement'
close #8913
2018-09-13 00:29:00 +02:00
rpigott
59c5c4f006 test: popupmenu placement 2018-09-13 00:27:42 +02:00
rpigott
a5fe6d34a9 vim-patch:8.0.1161 2018-09-13 00:27:32 +02:00
rpigott
26b2c1fe15 popupmnu.c: Fix popup placement when preview window is below 2018-09-13 00:27:31 +02:00
Justin M. Keyes
7a26b9b62b
vim-patch:8.1.0372: screen updating slow when 'cursorline' is set (#8986)
Problem:    Screen updating slow when 'cursorline' is set.
Solution:   Only redraw the old and new cursor line, not all lines.
90a997987d
2018-09-12 23:06:26 +02:00
Justin M. Keyes
9124bb755c
Merge pull request #8985 from justinmk/ui-no-clearall
UI/cleanup: Remove most redraw_later_clear() calls
2018-09-12 21:37:55 +02:00
Justin M. Keyes
90b7d25882 do_shell, do_filter: Remove "clear screen", "wait for return" calls
The output from shell commands is already handled by the messages.c/UI
layer.
2018-09-12 08:30:26 +02:00
Justin M. Keyes
31c3d54668 UI/cleanup: Remove most redraw_later_clear() calls
Vim :! may "mess up the screen" because of e.g. switching between cooked
mode, but Nvim just uses pipes. So maybe we can avoid these
redraw_later_clear() CYA calls.
2018-09-12 08:30:26 +02:00
Justin M. Keyes
931e15471c
Merge #8984 from janlazo/vim-8.1.0034 2018-09-12 07:36:28 +02:00
Jan Edmund Lazo
e15c34fbc2 lint 2018-09-11 23:04:54 -04:00
Jan Edmund Lazo
38c52c63ac vim-patch:8.0.1809: various typos
Problem:    Various typos.
Solution:   Correct the mistakes, change "cursur" to "cursor". (closes vim/vim#2887)
b946482190
2018-09-11 23:02:22 -04:00
Jan Edmund Lazo
8a845ab3ef vim-patch:8.1.0219: expanding ## fails to escape backtick
Problem:    Expanding ## fails to escape backtick.
Solution:   Escape a backtick in a file name. (closes vim/vim#3257)
2c8c681bfc
2018-09-11 22:42:17 -04:00
Jan Edmund Lazo
a021b30ede vim-patch:8.1.0034: cursor not restored with ":edit #"
Problem:    Cursor not restored with ":edit #".
Solution:   Don't assume autocommands moved the cursor when it was moved to
            the first non-blank.
adb8fbec4f
2018-09-11 19:23:04 -04:00
Jan Edmund Lazo
61df24b998 vim-patch:8.0.1154: 'indentkeys' does not work properly (#8980)
Problem:    'indentkeys' does not work properly. (Gary Johnson)
Solution:   Get the cursor line again. (Christian Brabandt, closes vim/vim#2151)
1b38344e00
2018-09-11 19:55:46 +02:00
Björn Linse
d6b3c09129
Merge pull request #8945 from ZviRackover/fix-7401-step5
mbyte: remove mb_char2bytes
2018-09-11 09:03:09 +02:00
Justin M. Keyes
036051b218
Merge pull request #8974 from janlazo/vim-8.0.1377 2018-09-11 08:33:21 +02:00
Justin M. Keyes
77628d90a4
Merge pull request #8979 from janlazo/vim-8.1.0174 2018-09-11 08:26:24 +02:00
Jan Edmund Lazo
566f573378 move: dir in onepage() is Direction
Move vim.h in move.h to implicitly include buffer_defs.h and pos.h.
2018-09-10 23:16:16 -04:00
Jan Edmund Lazo
1a43aef9ec move: drop has_mbyte check
has_mbyte is always true in nvim.
2018-09-10 23:01:45 -04:00
Jan Edmund Lazo
e1fa242a6c vim-patch:8.1.0174: after paging up and down fold line is wrong
Problem:    After paging up and down fold line is wrong.
Solution:   Correct the computation of w_topline and w_botline. (Hirohito
            Higashi)
907dad72ef
2018-09-10 20:34:34 -04:00
Björn Linse
d4e6a75a06
Merge pull request #8971 from bfredl/flush_on_exit
ui: flush UI state on exit
2018-09-10 18:58:06 +02:00
Jan Edmund Lazo
207cfce3de vim-patch:8.1.0011: maparg() and mapcheck() confuse empty and non-existing (#8976)
Problem:    maparg() and mapcheck() confuse empty and non-existing.
Solution:   Return <Nop> for an existing non-empty mapping. (closes vim/vim#2940)
f88a5bc102
2018-09-10 09:27:04 +02:00
Justin M. Keyes
d9fcd43638 Merge #8967 'vim-patch:8.0.1781' 2018-09-10 09:24:16 +02:00
Andrzej Pacanowski
0c80fead86 vim-patch:8.0.1781: file names in quickfix window are not shortened
Problem:    File names in quickfix window are not always shortened.
Solution:   Shorten the file name when opening the quickfix window. (Yegappan
            Lakshmanan, closes vim/vim#2851, closes vim/vim#2846)
a796d46f29
2018-09-10 06:45:13 +02:00
Jan Edmund Lazo
39ab7cc6fb vim-patch:8.0.1378: autoload script sources itself when defining function
Problem:    Autoload script sources itself when defining function.
Solution:   Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
            Matsumoto, closes vim/vim#2423)
3388d33457
2018-09-09 20:30:32 -04:00
Jan Edmund Lazo
3fd9ffd368 vim-patch:8.0.1377: cannot call a dict function in autoloaded dict
Problem:    Cannot call a dict function in autoloaded dict.
Solution:   Call get_lval() passing the read-only flag.
6e65d594aa
2018-09-09 18:12:25 -04:00
Justin M. Keyes
bbbed9fc66
Merge #8063 from blueyed/vim-8.0.0708 2018-09-09 19:54:27 +02:00
Jan Edmund Lazo
dd0dd4d78d vim-patch:8.0.1115: crash when using foldtextresult() recursively (#8972)
Problem:    Crash when using foldtextresult() recursively.
Solution:   Avoid recursive calls. (Yasuhiro Matsumoto, closes vim/vim#2098)
495b7dd213
2018-09-09 19:22:10 +02:00
Justin M. Keyes
d47af7f10e CI/Codecov: disable changes status
It fails PRs which otherwise would succeed (e.g. #8971), and the Codecov
status page doesn't load, so we can't see what it's complaining about.

Reverts 5c7237640f
ref #8910
2018-09-09 19:12:32 +02:00
Björn Linse
088ae23e4e ui: flush UI state on exit 2018-09-09 16:42:53 +02:00
Björn Linse
c5790d9189
Merge pull request #8915 from rickyz/line_wrapping
Fix terminal line wrapping detection in the TUI.
2018-09-09 12:44:03 +02:00
Justin M. Keyes
e50ff1b2e9
Merge #8970 from janlazo/vim-8.0.0749 2018-09-09 12:37:28 +02:00
Justin M. Keyes
a8bd4de28a
Merge #8969 from janlazo/vim-8.0.1006 2018-09-09 11:29:18 +02:00
ZviRackover
329cfc3303 lint: clean-up after parent commits 2018-09-09 10:45:50 +03:00
ZviRackover
ac13e65ae0 Remove has_mbytes local to lines changed in parent commit 2018-09-09 10:45:50 +03:00
ZviRackover
cbdbc4f63d Refactor: Remove occurences of mb_char2bytes 2018-09-09 10:45:50 +03:00
Jan Edmund Lazo
49647ae973 digraph: delete code that checks enc_utf8
enc_utf8 is always true in nvim.
2018-09-08 23:42:14 -04:00
Jan Edmund Lazo
03bcfb54db digraph: refactor code that checks has_mbyte
has_mbyte is always true in nvim.
2018-09-08 23:42:14 -04:00
Jan Edmund Lazo
95608136d5 tests: update expected output of :digraph command 2018-09-08 22:28:35 -04:00
Jan Edmund Lazo
5f1a5d264a vim-patch:8.0.0749: some unicode digraphs are hard to remember
Problem:    Some unicode digraphs are hard to remember.
Solution:   Add alternatives with a backtick. (Chris Harding, closes vim/vim#1861)
816e7660e1
2018-09-08 21:29:47 -04:00
Jan Edmund Lazo
40e894f595 oldtests: win: fix buffer pathsep 2018-09-08 12:25:19 -04:00
Jan Edmund Lazo
3794e83d98 vim-patch:8.0.1040: cannot use another error format in getqflist()
Problem:    Cannot use another error format in getqflist().
Solution:   Add the "efm" argument to getqflist(). (Yegappan Lakshmanan)
3653822546
2018-09-08 11:52:59 -04:00
Jan Edmund Lazo
a8b996160d lint 2018-09-08 11:31:55 -04:00
Jan Edmund Lazo
213a66441f vim-patch:8.0.1031: "text" argument for getqflist() is confusing
Problem:    "text" argument for getqflist() is confusing. (Lcd47)
Solution:   Use "lines" instead. (Yegappan Lakshmanan)
2c809b7c7d
2018-09-08 11:31:24 -04:00