Justin M. Keyes
a265334406
defaults: sidescroll=1
...
ref #6289
2018-02-09 02:15:25 +01: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
ZyX
24a353364d
Merge branch 'master' into expression-parser
2017-11-06 20:23:35 +03:00
ZyX
3ecb95298f
tests: Fix testlint errors
2017-11-06 01:17:37 +03:00
KillTheMule
04b3c32772
'inccommand': Fix matches for zero-width ( #7487 )
...
closes #7485
2017-11-05 17:11:44 +01:00
Justin M. Keyes
b67f58b284
Merge #7454 'ui: ext_wildmenu'
...
closes #6168
ref #5686
2017-10-31 10:45:06 +01:00
Justin M. Keyes
60b1e8ad12
Merge #7315 "'inccommand': multiline, other fixes"
...
closes #5589
closes #5590
closes #5598
closes #5608
2017-10-31 01:11:35 +01:00
ZyX
b29a776550
Merge branch 'master' into expression-parser
2017-10-30 00:49:12 +03:00
KillTheMule
4daf63871a
Fix cmd modifier tests for the new highlight
2017-10-29 18:21:26 +01:00
KillTheMule
369ac900f9
Adjust tests for new highlighting.
...
Also extend an old test to show of the new way.
2017-10-29 18:11:32 +01:00
KillTheMule
ab942b7ffb
Test for clearing the highlight
2017-10-29 18:11:32 +01:00
KillTheMule
be20b20cf3
Adjust tests for the new preview window
...
... that does not have that superflous last line.
Also, remove some indeterminism for the freebsd64 tests. Partially,
those were suggested by the tests themselves, while successfull. Some of
them were added after some testing because the lookaround test would
fail on freebsd64 only.
2017-10-29 18:11:32 +01:00
KillTheMule
a4e4f2bd02
Move tests into original file, lint, and add a test
2017-10-29 18:11:32 +01:00
KillTheMule
1fcd838942
Fix old inccomand tests, and add more for the new functionality.
2017-10-29 18:10:46 +01:00
ZyX
b935a12dab
ex_getln: Make use of new parser to color expressions
...
Retires g:Nvim_color_expr callback.
2017-10-29 16:32:13 +03:00
Dongdong Zhou
39e83fa7cb
ui: allow external ui to draw wildmenu
...
Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
Updated docs and tests.
2017-10-29 08:18:03 +01:00
Justin M. Keyes
1a93f58831
test: ui/cmdline_spec.lua: enable on Windows
2017-10-29 02:12:45 +02:00
Björn Linse
445f25998c
ext_cmdline: fix inputsecret()
2017-10-26 20:29:10 +02:00
Björn Linse
91d8e26bc7
ext_cmdline: interact with cmdline window
2017-10-26 20:29:10 +02:00
Björn Linse
bed0a3a842
ext_cmdline: implement redraw!
2017-10-26 20:29:08 +02:00
Björn Linse
91f94bfef8
ext_cmdline: restructure and improve tests
2017-10-26 20:28:49 +02:00
Björn Linse
f2aaa4ae8b
ext_cmdline: rename cmdline_char to cmdline_special_char
2017-10-26 20:28:49 +02:00
Björn Linse
a68817f565
ext_cmdline: extend "function" to generic "block" mechanism
2017-10-26 20:28:49 +02:00
Björn Linse
22402fb99d
ext_cmdline: add support for highlighting
2017-10-26 20:28:47 +02:00
Dongdong Zhou
fb389a6b4b
ext_cmdline: added indent
2017-10-26 09:35:13 +02:00
Dongdong Zhou
461ae69824
ext_cmdline: Add function block support
2017-10-26 09:35:13 +02:00
Dongdong Zhou
866dadaf75
ext_cmdline: added cmdline level
...
add cchar_to_string
2017-10-26 09:35:13 +02:00