Justin M. Keyes
dc6cc4787c
api: Establish API naming convention. ( #5344 )
...
old name: new name:
--------------------------------------------------
nvim_name_to_color nvim_get_color_by_name
nvim_get_current_buffer nvim_get_current_buf
nvim_get_current_window nvim_get_current_win
nvim_get_buffers nvim_list_bufs
nvim_get_tabpages nvim_list_tabpages
nvim_get_windows nvim_list_wins
nvim_set_current_buffer nvim_set_current_buf
nvim_set_current_window nvim_set_current_win
nvim_change_directory nvim_set_current_dir
nvim_tabpage_get_window nvim_tabpage_get_win
nvim_tabpage_get_windows nvim_tabpage_list_wins
nvim_win_get_buffer nvim_win_get_buf
nvim_report_error nvim_err_writeln
Helped-by: Björn Linse <bjorn.linse@gmail.com >
Helped-by: ZyX <kp-pav@yandex.ru >
Helped-by: James McCoy <jamessan@jamessan.com >
2016-09-17 06:30:36 +02:00
Rui Abreu Ferreira
39c628d031
Mark some functional tests as pending in Windows
2016-08-26 08:21:41 +01:00
Björn Linse
cc657951a9
tests: don't ignore highlights in highlight_spec
2016-08-14 21:53:02 +02:00
Björn Linse
9c4a94f964
tests: remove deprecated hl_colors
2016-08-14 21:53:02 +02:00
Justin M. Keyes
abeb2f020f
test/highlight_spec: Test "gui" arg of synIDattr().
...
Also use less "regular" values for cterm colors.
2016-06-18 13:07:59 -04:00
ZyX
ff470bb853
functests: Check logs in lua code
...
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
2016-06-10 21:50:49 +03:00
AdnoC
582fb03f51
test/syntax: foo=NONE clears hi group
2016-05-21 01:19:39 -04:00
Yichao Zhou
723497f030
test: listchars
2016-05-20 04:04:49 -04:00
Yichao Zhou
f598bb7b3c
test: cursorline, listchars
2016-05-20 04:04:48 -04:00
Justin M. Keyes
74f6460181
Merge #4633 : support "special" highlight (undercurl)
...
Closes #2040
Closes #3370
2016-05-19 22:20:52 -04:00
AdnoC
e5eea7fa06
test: Screen also checks 'special' when testing attribute equality
2016-05-17 16:36:41 -04:00
AdnoC
724fc88597
test: Edit the special color test
2016-05-17 16:36:38 -04:00
KillTheMule
a5ac389e5c
test: Add a test for the new guisp highlighting feature.
...
Screen.lua needed a little cosmetical adjustment to print out the color nicely.
2016-05-17 16:32:07 -04:00
AdnoC
130a1a6bb2
test/syntax: Add testing for linking to cleared highlight groups
2016-05-10 16:08:57 -04:00
pips.linux
ee4d1f2cce
vim-patch:7.4.1236
...
Problem: When "syntax manual" was used switching between buffers removes
the highlighting.
Solution: Set the syntax option without changing the value. (Anton
Lindqvist)
885f24fbca
Patch applied cleanly to the nvim sources except for version.c.
2016-04-28 21:11:03 +02:00
Justin M. Keyes
79a6983c0c
ui: revert "gui_running" hack
...
Plugins (YCM, dispatch.vim) use gui_running to decide behavior; so do
some colorschemes. Up to now, nvim lied about gui_running for the
benefit of colorschemes and the detriment of all _other_ plugins that
check this condition. That's counterproductive: a user employs at most
_one_ colorscheme but may use many other plugins which expect the Vim
legacy semantics of gui_running.
Moreover, colorschemes usually don't _need_ to check gui_running: they
can instead set cterm{fg,bg} and gui{fg,bg} in the same :highlight call.
It is reasonable for users who want "true color" to modify their
colorscheme once (or request upstream to do so) in order to avoid
running into quirks in any other plugins.
Closes #2782
2016-02-03 01:21:59 -05:00
Marco Hinz
4a69e55f39
test/functional: clean up according to luacheck (part 1)
2015-11-23 13:57:21 +01:00
Björn Linse
a7aeda8c7a
tests/ui: Also test character at cursor
2015-03-09 08:01:49 -03:00
Björn Linse
f468fb70cb
api/vim: allow guis and tests to retrieve the entire color table
2015-02-02 14:56:58 -03:00
Björn Linse
b78265e9b7
test/ui: enable strict mode by default (and in existing tests)
2015-02-02 14:56:58 -03:00
Björn Linse
a9048896b3
tests/ui: strict mode
2015-01-23 07:47:48 -03:00
Thiago de Arruda
dc18fa256f
test: Add more functional test to cover new code
...
- emulate gui_running and terminal colors
- scrolling/clearing regions
- mouse wheel scrolling
- setting icon/title
- :stop/:suspend
- screen resize
2015-01-15 09:01:25 -03:00
Thiago de Arruda
17b211d288
test: Remove unnecessary command from highlight_spec
2015-01-13 11:54:51 -03:00
Justin M. Keyes
d7e18b5c95
Revert "[WIP] "abstract_ui" fixes and improvements"
2015-01-12 10:14:52 -05:00
Thiago de Arruda
d50d79831e
test: Remove unnecessary command from highlight_spec
2015-01-12 09:47:40 -03:00
Thiago de Arruda
1192fbd08a
test: Add screen test facility
...
- Add screen.lua which implements a remote screen to verify screen state by
tests under functional/ui
- Add some basic screen/highlight tests
2014-12-09 08:36:16 -03:00