Nimit Bhardwaj
51af911a27
inccommand: do not execute trailing commands #8256
...
fix #7494
2018-04-21 13:06:46 +02:00
Justin M. Keyes
fe5f38d8bd
terminal: do not call redraw_buf_later() ( #8306 )
...
fixes #8290
2018-04-21 04:11:45 +02:00
geekodour
1e71978cf0
events: VimSuspend, VimResume #8280
...
closes #3648
ref #5959
2018-04-15 15:05:02 +02:00
Justin M. Keyes
87f4d2592c
test/util: expect_err() ( #8257 )
...
other cleanup, ref #8245
2018-04-11 22:07:00 +02:00
Justin M. Keyes
fa6415f13f
test/API: validate channel arg ( #8245 )
2018-04-08 03:01:15 +02:00
Björn Linse
60e96a45b4
screen: winhl=Normal:Background should not override syntax ( #8093 )
...
fixes #7375
2018-04-02 14:21:14 +02:00
Björn Linse
98e7112390
msg: do not scroll entire screen ( #8088 )
2018-03-31 11:12:27 +02:00
Nimit Bhardwaj
8d5a46e77b
TUI: implement "standout" attribute #8081
...
closes #8054
2018-03-27 04:38:19 +02:00
ZyX
79b4b6fc86
*: Make sure that !did_throw implies !current_exception
...
Fixes #7876
2018-03-25 14:50:48 +03:00
Justin M. Keyes
fd4021387e
test: rename next_message() to next_msg()
2018-03-11 12:43:42 +01:00
Björn Linse
cee9a8ce8a
message: don't output unprintable chars to screen
...
fixes #7586 #8070
2018-03-04 08:37:57 +01:00
Matthieu Coudron
384a39479a
'fillchars': fix defaults logic; handle ambiwidth=double #7986
...
Update tests.
2018-02-23 00:48:35 +01:00
Jan Edmund Lazo
795da343bb
test: win: emulate yes with for loop
2018-02-19 07:10:46 -05:00
Jan Edmund Lazo
07dfe0f5ea
test: win: enable ui/wildmode_spec.lua
2018-02-19 07:10:46 -05:00
Björn Linse
77286915a8
Merge pull request #8008 from bfredl/arrayfree
...
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:23:11 +01:00
Björn Linse
d9497053e8
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:20:28 +01:00
Björn Linse
6e5cb0debd
ui: refactor ui options
2018-02-13 20:48:51 +01:00
Justin M. Keyes
2cfc1b055b
Merge #7939 "fix crash: 'spell' and long lines"
2018-02-11 13:04:39 +01:00
Justin M. Keyes
ed0d135247
Merge #7939 "fix crash: 'spell' and long lines"
...
closes #7937
2018-02-11 13:03:24 +01:00
Björn Linse
5d8da126d0
ui/tui: highlighting refactor
...
Make HlAttr contain highlighting state for both color modes (cterm and rgb).
This allows us to implement termguicolors completely in the TUI.
Simplify some logic duplicated between ui.c and screen.c. Also avoid
some superfluous highlighting reset events.
2018-02-11 10:29:32 +01:00
Jan Edmund Lazo
c03a847884
win: enable backtick_expansion and shell output tests
2018-02-10 22:28:12 +01:00
Björn Linse
f75c4b39ec
shell: handle split-up UTF-8 sequences
2018-02-10 22:28:12 +01:00
Björn Linse
01cdeff626
tests: integrate ex_cmds/bang_filter_spec into ui/output_spec
...
they test the same thing. Filtering is tested elsewhere.
2018-02-10 22:28:12 +01:00
Björn Linse
60ce7d9e0a
shell: support bell
2018-02-10 22:28:12 +01:00
Justin M. Keyes
a265334406
defaults: sidescroll=1
...
ref #6289
2018-02-09 02:15:25 +01:00
Michael Brailsford
a6136e8b0b
screen.c: resolve neovim issue #7937
2018-02-07 13:46:37 -06:00
Justin M. Keyes
352a51e831
test: :! print binary data, control chars
...
closes #5442
closes #4142
ref #6618
ref #4376
ref #7844
ref #2958
ref #4338
2018-02-07 09:25:51 +01:00
Björn Linse
6744f48d88
tests: cleanup bufhl test
2018-02-06 20:16:38 +01:00
Björn Linse
9af14506e5
shell: add test for binary and multibyte output
...
Also update existing tests for new (vim-compatible) newline behavior
2018-02-06 10:23:26 +01:00
Justin M. Keyes
709a87d194
Merge #7463 'incsearch + hlsearch highlight all'
2018-02-01 23:25:55 +01:00
Tommy Allen
1813c53e8d
Updated tests
2018-01-28 23:47:11 -05:00
Ömer Sinan Ağacan
9bc1410ee1
vim-patch:8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty pattern
...
Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern.
Solution: Use the last search pattern. (Christian Brabandt, closes vim/vim#2292 )
d048009717
2018-01-26 18:39:20 +03:00
Ömer Sinan Ağacan
997fc8b133
Add tests
2018-01-26 18:39:20 +03:00
Ömer Sinan Ağacan
41394d8236
vim-patch:8.0.1238
...
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes vim/vim#2198 )
2e51d9a097
2018-01-26 18:39:20 +03:00
Justin M. Keyes
7dd97eb597
test/inccommand_spec: test the test ( #7897 )
2018-01-23 00:53:22 +01:00
Justin M. Keyes
eb4aab7173
ui: forward 'linespace' option #7883
...
ref #7520
2018-01-21 09:39:12 +01:00
Justin M. Keyes
c095f83116
api: change nvim_command_output behavior
...
Implement nvim_command_output with `execute({cmd},"silent")`.
Behavior changes:
- does not provoke any hit-enter prompt
- no longer prepends a newline char
- does not capture some noise (like the "[New File]" message, see the
change to tabnewentered_spec.lua)
Technically ("bug-for-bug") this a breaking change. But the previous
behavior of nvim_command_output meant that it probably wasn't used for
anything outside of tests.
Also remove the undocumented `v:command_output` variable which was
a hack introduced only for the purposes of nvim_command_output.
closes #7726
2018-01-10 23:45:44 +01:00
Jan Edmund Lazo
7311fb7cad
win: enable more functional tests
...
- plugin/shada_spec.lua: Use \r\n as Windows EOL for tests on
BufWriteCmd, FileWriteCmd, FileAppendCmd. Alternative is 'set
fileformat=unix'.
2018-01-06 17:47:00 +01:00
Björn Linse
34057045be
ui: forward relevant option updates to UIs ( #7520 )
...
also make termguicolors mutable after startup
2017-12-12 18:23:19 +01:00
Justin M. Keyes
3cc7ebf810
Merge #7234 'built-in expression parser'
2017-12-09 18:47:34 +01:00
Björn Linse
ba7d6a9e6b
ui: fix glitch with both ext_cmdline and cmd_wildmenu
2017-12-06 09:41:51 +01:00
Björn Linse
9714b9f590
tests: cleanup ui/cmdline_spec.lua
2017-12-05 13:32:02 +01:00
ZyX
5ab0f988ca
*: Replace all occurrences of NVim with Nvim
2017-11-30 11:53:25 +03:00
ZyX
b588ccddd7
Merge branch 'master' into expression-parser
2017-11-30 02:02:55 +03:00
Justin M. Keyes
6cf186edb5
lint
2017-11-27 09:45:32 +01:00
Justin M. Keyes
944e3c0619
tui: expose terminal type in 'term' option
...
Since "builtin" terminfo definitions were implemented (7cbf52db1b
),
the decisions made by tui.c and terminfo.c are more relevant. Exposing
that decision in the 'term' option helps with troubleshooting.
Also: remove code that allowed setting t_Co. `:set t_Co=…` has never
worked; the highlight_spec test asserting that nvim_set_option('t_Co')
_does_ work makes no sense, and should not have worked.
2017-11-27 09:45:32 +01:00
ZyX
cddf84c398
functests: Add some more tests
2017-11-26 16:45:29 +03:00
ZyX
53fa435a1f
functests: Fix ui/cmdline test
2017-11-19 19:34:15 +03:00
ZyX
c287893225
viml/parser/expressions,unittests: Do better testing, fix found issues
2017-11-19 19:22:54 +03:00
ZyX
556451a7f2
unittests,syntax: Check for sanity of highlight_init_cmdline
...
Also fixes some errors found.
2017-11-13 01:11:13 +03:00