Dongdong Zhou
866dadaf75
ext_cmdline: added cmdline level
...
add cchar_to_string
2017-10-26 09:35:13 +02:00
Dongdong Zhou
ab85999eb7
ext_cmdline: change to use ui_call
2017-10-26 09:35:13 +02:00
Dongdong Zhou
e164ba41c8
ext_cmdline: fix firstc, change cmdline_leave to cmdline_hide
2017-10-26 09:35:13 +02:00
Dongdong Zhou
daec81ab51
ext_cmdline: change the content format
2017-10-26 09:35:13 +02:00
Dongdong Zhou
550651c130
ext_cmdline: use standard external ui functions
2017-10-26 09:35:12 +02:00
Dongdong Zhou
b7a8a76f6e
ext_cmdline: lint
2017-10-26 09:35:12 +02:00
Dongdong Zhou
26fd70bd18
ext_cmdline: add tests
2017-10-26 09:35:12 +02:00
Dongdong Zhou
6e90bc7200
ext_cmdline: Added cmdline prompt
2017-10-26 09:35:12 +02:00
Dongdong Zhou
439c39a2cf
ext_cmdline: allow external ui to draw cmdline
2017-10-26 09:35:12 +02:00
James McCoy
f0c2f82e90
Merge pull request #6967 from jamessan/icm-skip-modifiers
...
inccommand: Ignore leading modifiers in the command
2017-10-24 20:48:27 -04:00
James McCoy
f1f7f3b512
inccommand: Ignore leading modifiers in the command
2017-10-24 19:55:29 -04:00
Justin M. Keyes
fdd9b1982b
:version : show Lua[Jit] version ( #7436 )
...
Also remove vestigial `extra_patches` code.
2017-10-24 21:57:11 +02:00
Justin M. Keyes
e35a66d396
Merge #7430 'Ignore virtcols after 32000'
2017-10-22 16:43:43 +02:00
Justin M. Keyes
42b80c3acf
Merge #7165 'lua: Move stricmp to vim module'
2017-10-22 16:29:36 +02:00
Justin M. Keyes
a3134bc480
test: tabstop=<big-number> #2838
2017-10-22 14:11:09 +02:00
Victor Adam
e4a974c7cc
plines_win_nofold(): Ignore virtcols after 32000th computation #3527
...
Avoid crashing or hanging when editing a file than contains ludicrously
long lines (more than 100,000,000 virtual columns).
The change is in plines_win_nofold, which is called by wrapping and folding
code. As a result, wrapping and folding may be done incorrectly when the UI is
capable of rendering more than 32000 characters at a time (tiny font).
fixes #2838
2017-10-22 13:28:02 +02:00
Josh Leeb-du Toit
9db42d4ce9
:cquit : take an error code argument #7336
...
closes #2699
ex_cmds.lua: use flags consistent with similar commands such as `cnext`.
upstream discussion:
"[patch] :qcuit can take exit code"
https://groups.google.com/d/msg/vim_dev/_PjyNbUKyRc/oPgr5_ZXc6AJ
2017-10-22 13:02:31 +02:00
KunMing Xie
bead15f10d
vim-patch:8.0.0140 ( #7428 )
...
Problem: Pasting inserted text in Visual mode does not work properly.
(Matthew Malcomson)
Solution: Stop Visual mode before stuffing the inserted text. (Christian
Brabandt, from neovim #5709 )
f8eb9c51e5
2017-10-22 12:13:46 +02:00
Justin M. Keyes
d7594f9c33
Merge #7420 'vim-patch:8.0.0962, 8.0.1019'
2017-10-21 04:17:23 +02:00
Justin M. Keyes
a3a9ef9ad4
Merge #7030 'refactor/single-include'
...
ref #5321
2017-10-21 04:09:11 +02:00
Justin M. Keyes
37420ef942
build: set MIN_LOG_LEVEL correctly ( #7419 )
...
closes #7283
regression by 42d892913d
- Don't need to explicitly put "-O2 -g" in RelWithDebInfo; CMake does
that already. That was left-over from 42d892913d
which removed the
"Dev" custom build-type, but repurposed the logic for RelWithDebInfo.
- `if(DEFINED MIN_LOG_LEVEL)` doesn't work.
- `if(${MIN_LOG_LEVEL} MATCHES "^$")` doesn't work if -DMIN_LOG_LEVEL is
omitted.
- `if(MIN_LOG_LEVEL)` also isn't what we want: it would be true if
MIN_LOG_LEVEL=0.
2017-10-21 02:30:21 +02:00
Justin M. Keyes
b5b8966760
vim-patch:8.0.1019
...
Problem: Pasting in virtual edit happens in the wrong place.
Solution: Do not adjust coladd when after the end of the line (closes vim/vim#2015 )
d41babef89
2017-10-21 02:24:49 +02:00
Justin M. Keyes
82b8382abe
vim-patch:8.0.0962
...
closes #6726
Problem: Crash with virtualedit and joining lines.
(Joshua T Corbin, Neovim #6726 )
Solution: When using a mark check that coladd is valid.
9aa1569128
2017-10-21 02:18:00 +02:00
Björn Linse
dfe806ea8b
bufhl: support creating new groups
2017-10-19 11:59:32 +02:00
relnod
dde3ece10e
lint
2017-10-19 11:20:24 +02:00
relnod
0f74b7afeb
refactor/single-include: undo.h
2017-10-19 11:20:08 +02:00
relnod
14e63271cc
refactor/single-include: undo_defs.h
2017-10-19 11:17:18 +02:00
relnod
4b0a086d16
refactor/single-include: syntax_defs.h
2017-10-19 11:17:18 +02:00
relnod
69199958b7
refactor/single-include: regexp_defs.h
2017-10-19 11:16:46 +02:00
relnod
295c90989d
refactor/single-include: terminal.h
2017-10-19 11:14:54 +02:00
ZyX
47938e1e22
viml/parser/expressions: Fix some errors spotted by KLEE
...
Not all of them are fixed yet though.
2017-10-19 10:48:05 +03:00
James McCoy
91586d1ad4
Merge pull request #7404 from jamessan/vim-8.0.0118
...
vim-patch:8.0.0118
2017-10-18 10:45:05 -04:00
Justin M. Keyes
0cba3da26e
Merge #7399 ':checkhealth (built-in)'
2017-10-17 22:43:46 +02:00
James McCoy
70b574dab3
vim-patch:8.0.0118
...
Runtime updates that were bundled into the otherwise NA commit:
Problem: "make proto" adds extra function prototype.
Solution: Add vim/vim#ifdef.
5162822914
2017-10-17 14:51:04 -04:00
James McCoy
9467c8e16e
Merge pull request #7372 from ckelsel/vim-8.0.0183
...
vim-patch:8.0.0183 NA
2017-10-17 12:51:07 -04:00
James McCoy
0f0fcce1ab
Merge pull request #7313 from ckelsel/vim-8.0.0101
...
vim-patch:8.0.0101,8.0.0102,8.0.0104,8.0.0106
2017-10-17 12:48:48 -04:00
Justin M. Keyes
014bd59957
ex_checkhealth: call health#check() directly
...
This allows us to remove :CheckHealth later (avoids wildmenu noise).
2017-10-17 01:51:21 +02:00
Justin M. Keyes
d214df4e9b
doc: replace ":CheckHealth" with ":checkhealth"
2017-10-17 01:51:21 +02:00
Justin M. Keyes
5baeb4a49c
ex-cmds: :checkhealth
...
Built-in `:checkhealth` checks for valid $VIMRUNTIME by attempting to
autoload `health#check()`.
closes #2977
closes #3159
2017-10-17 01:51:20 +02:00
Justin M. Keyes
a792c1f6db
Merge #7340 'menu_get: print keycodes'
2017-10-16 09:15:31 +02:00
Justin M. Keyes
56eda2aa17
syntax: 'cursorline': revert priority change ( #7400 )
...
ref #7383
reverts d1874ab282
ref #6380
2017-10-16 08:18:03 +02:00
ZyX
895793fc82
viml/parser/expressions: Add some casts
2017-10-16 09:14:02 +03:00
ZyX
c9f511d24a
viml/parser/expressions: Remove unused flag
2017-10-16 09:06:05 +03:00
ZyX
4c8ed65b60
viml/parser/expressions: Fix memory leak when processing ternary
2017-10-16 03:04:22 +03:00
ZyX
a535d68380
keymap: Remove incorrect cast
2017-10-16 01:00:58 +03:00
ZyX
15043e93b6
klee: Update key_name_entry table
2017-10-16 00:41:41 +03:00
ZyX
ed253b5fe6
klee: Include colors in test
2017-10-16 00:39:48 +03:00
ZyX
fe81380bf5
viml/parser/expressions: Highlight prefix separately from number
...
Should make accidental octals more visible.
2017-10-16 00:30:55 +03:00
ZyX
5e92ee6565
charset: Do not call strlen() from vim_str2nr
2017-10-16 00:19:02 +03:00
ZyX
1a3635304b
charset: Avoid overflow in vim_str2nr
2017-10-16 00:07:32 +03:00