Commit Graph

64 Commits

Author SHA1 Message Date
itchyny
7468c3b3b8 source autoload script in .themisrc 2020-11-21 03:41:27 +09:00
itchyny
543ee323a4 test calling lightline#{disable,enable} twice does not cause errors 2020-11-14 12:01:31 +09:00
itchyny
2afc3ab4dd fix highlight links on resetting highlights (ref: Vim 8.2.1703 213da551) (close #512) 2020-09-25 11:00:28 +09:00
Ulrik de Muelenaere
eb462749ae Abbreviate tabline based on current rather than initial width 2020-08-13 20:25:11 +02:00
itchyny
2effe7ad1c add a test case for #448 2020-06-19 07:17:34 +09:00
itchyny
1afe1e9bd5 change events for updating the statusline, from BufWinEnter,FileType to BufEnter (close #352)
- fix the active statusline after updating the quickfix/location list
- use g:qf_disable_statusline to disable the statusline of the default ftplugin
- for before Vim 8.1.1715, keep using FileType event to overwrite the statusline of the quickfix window
2019-07-30 21:23:20 +09:00
itchyny
bc82a1c7b6 add test for entering a popup window 2019-07-20 13:36:18 +09:00
itchyny
688240e0ef add more tests for disable and enable, also test lightline#update not enable statusline 2018-11-24 12:08:00 +09:00
itchyny
47765c787d delete global functions after the test case 2018-09-17 12:32:28 +09:00
itchyny
54a3431c12 fix highlighting separator when component group is skipped due to expanding components (ref c9263d9) 2018-09-17 12:26:56 +09:00
itchyny
0b026a2b89 clear highlight links before each highlight link tests 2018-09-16 23:58:07 +09:00
itchyny
c9263d945e fix highlighting separator when component group is skipped due to expanding components (close #289, #290) 2018-09-16 23:12:53 +09:00
itchyny
d465f10338 update tabs component tests 2017-09-18 08:28:06 +09:00
itchyny
fc7d25e796 implement g:lightline.component_raw to specify raw type components. (close #240, #134)
Having raw type configuration in component_type is a kind of
implementation design mistake. We sometimes want to specify both the
type and the raw attribute of a component. The raw component feature
shouldn't be included as one of the types of components. Now we can
specify the raw attribute with component_raw and the type with
component_type.
2017-08-21 08:21:01 +09:00
itchyny
e7b6c035eb add tests for raw type expansion component 2017-08-20 21:57:17 +09:00
itchyny
479a1f6ae6 update highlight group names in the tests 2016-11-23 19:38:50 +09:00
itchyny
06d0dd33d3 add a test using dictionary function for expand components (ref #183) 2016-09-04 13:07:31 +09:00
itchyny
b5226c77a5 add tests for component_function_visible_condition 2016-08-21 11:29:03 +09:00
itchyny
967a203f26 add tests for lightline#highlight when there is no components (ref #166) 2016-06-11 14:11:28 +09:00
itchyny
c205aad755 add tests for lightline#error() 2016-05-01 04:38:41 +09:00
itchyny
5cb8e4a207 add tests for lightline#mode() 2016-04-30 12:10:17 +09:00
itchyny
4109e4ee6b update test for s:uniq 2016-04-29 13:41:36 +09:00
itchyny
d5bf4b8343 update tests for lightline#highlight 2016-04-17 13:01:55 +09:00
itchyny
6688b54c67 add tests for lightline#highlight 2016-04-17 12:53:24 +09:00
itchyny
757fa3daf3 update the test for lightline#link 2016-04-17 12:49:52 +09:00
itchyny
cd63ed91ef improve s:hi in the test for lightline#ink 2016-04-17 11:37:24 +09:00
itchyny
bf14dc5313 add tests for lightline#link 2016-04-16 15:51:03 +09:00
itchyny
d09e0d2099 add more tests for s:subseparator 2016-04-14 00:18:23 +09:00
itchyny
e8db3fe755 add tests for s:subseparator 2016-04-13 00:12:40 +09:00
itchyny
9c3497939d add more tests for lightline#onetab 2016-03-26 13:59:33 +09:00
itchyny
5613d7f9b4 improve tests for s:uniq 2016-03-24 23:26:56 +09:00
itchyny
0e5500f610 add more test for s:uniq 2016-03-24 21:40:39 +09:00
itchyny
ed13dda6a6 the list is no more sorted in s:uniq, it only removes the adjacent elements 2016-03-24 21:39:30 +09:00
itchyny
2977ed29d0 rename s:unique to s:uniq 2016-03-24 21:37:16 +09:00
itchyny
77dd83a830 sort the return value of s:unique 2016-03-24 21:16:31 +09:00
itchyny
d98a94948d add tests for s:unique 2016-03-24 21:03:41 +09:00
itchyny
43a2a1a359 add a test for lightline#concatenate: keep the argument list 2016-03-24 08:42:16 +09:00
itchyny
7964261285 add tests for lightline#concatenate 2016-03-24 08:34:41 +09:00
itchyny
997c4ba572 change the tests for s:expand: stringify the indices 2016-03-22 10:24:19 +09:00
itchyny
ba4e7552ec improve tests for s:expand 2016-03-22 08:58:29 +09:00
itchyny
5f50a0d0fa add more tests for s:expand 2016-03-21 22:34:16 +09:00
itchyny
b81c73a119 add more tests for s:expand 2016-03-21 20:15:38 +09:00
itchyny
45313179b6 add more tests for s:expand 2016-03-21 18:54:17 +09:00
itchyny
6e0b2717ae add more tests for s:expand 2016-03-21 16:58:43 +09:00
itchyny
9ef3456427 add more tests for s:expand: arrays of arrays 2016-03-21 16:48:45 +09:00
itchyny
ce6c2d8aba add more tests for s:expand: short array 2016-03-21 16:41:40 +09:00
itchyny
6cd8fc8c3c add more tests for void string in s:expand 2016-03-21 16:30:01 +09:00
itchyny
738c37c7d3 fix tests for s:expand 2016-03-21 16:26:06 +09:00
itchyny
cbed6f9a69 add more tests, the function returns void string, for s:expand 2016-03-21 15:52:25 +09:00
itchyny
a61e069274 add more tests, error and notfound for s:expand 2016-03-21 15:50:10 +09:00