Commit Graph

365 Commits

Author SHA1 Message Date
itchyny
2977ed29d0 rename s:unique to s:uniq 2016-03-24 21:37:16 +09:00
itchyny
c98d66be65 do not sort in s:unique and rename it to s:uniq 2016-03-24 21:36:21 +09:00
itchyny
2ee2a07ecd remove unnecessary copy() 2016-03-24 21:29:49 +09:00
itchyny
e6c5ad3215 implement s:unique for environment where uniq() is not available 2016-03-24 21:26:14 +09:00
itchyny
c89e1d8007 use uniq() function 2016-03-24 21:17:20 +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
900d1075a8 rename uniq to unique 2016-03-24 21:01:44 +09:00
itchyny
a475a394db refactor lightline#concatenate 2016-03-24 08:47:27 +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
fe891c0ca3 define and use s:flatten_twice instead of using s:flatten twice for performance 2016-03-23 14:13:25 +09:00
itchyny
997c4ba572 change the tests for s:expand: stringify the indices 2016-03-22 10:24:19 +09:00
itchyny
c2b956296e refactor s:expand: stringify the indices 2016-03-22 10:24:03 +09:00
itchyny
6d5b8787b7 refactor s:expand 2016-03-22 09:11:42 +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
d3eff0e777 remove component/component_function check in s:expand 2016-03-21 18:55:47 +09:00
itchyny
45313179b6 add more tests for s:expand 2016-03-21 18:54:17 +09:00
itchyny
8377b14171 refactor s:_expand: split the evaluate/normalize codes into functions 2016-03-21 17:11:34 +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
db559ec96b refactor s:expand: make the function readable a little bit 2016-03-21 16:07:36 +09:00
itchyny
d43d48cc1d refactor s:expand, s:_expand: pass the component itself and its highlight name 2016-03-21 16:03:31 +09:00
itchyny
c806e08ac3 refactor s:expand, s:_expand: pass the name of the component 2016-03-21 15:59:43 +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
itchyny
048da5eb2d skip function check (try...catch captures) 2016-03-21 15:49:33 +09:00
itchyny
4c80971765 add .themisrc 2016-03-21 15:33:44 +09:00
itchyny
f4ac7c9d32 add tests for s:expand 2016-03-21 15:31:53 +09:00
itchyny
6c36d989e1 swapt the return valur of s:expand 2016-03-21 15:11:53 +09:00
itchyny
cf81e91f1f move winwidth to s:lightline 2016-03-20 19:41:41 +09:00
itchyny
a0e87fe732 refactor lightline#tabline a little bit 2016-03-20 11:01:57 +09:00
itchyny
7c579e48c9 add more tests for lightline#tabline 2016-03-20 11:01:12 +09:00
itchyny
f799d94a34 fix lightline#init: unlet the value because the type of the values in the configuration can change 2016-03-20 10:14:04 +09:00
itchyny
9f38b3c2d1 refactor lightline#init: move the default value to the script local variable s:_lightline 2016-03-20 10:11:24 +09:00
itchyny
929c0f765e improve the help of mode_map 2016-03-20 09:33:54 +09:00
itchyny
c24e444064 improve mode_map 2016-03-20 09:33:23 +09:00
itchyny
e6d52f61a6 stop installing the latest Vim on Travis 2016-03-20 01:43:31 +09:00
itchyny
4e15ea324d split tests per functions 2016-03-20 01:37:04 +09:00
itchyny
39d9ba1935 set g:lightline.winwidth to 180 to make the tests for lightline#tabs work 2016-03-20 00:59:37 +09:00
itchyny
8911dfacd4 retrieve the width of the window from g:lightline if available (for injection from the tests) 2016-03-20 00:58:31 +09:00
itchyny
9139d78f4b retrieve the width of the window in advance 2016-03-20 00:54:06 +09:00
itchyny
f7afdddb4f refactor lightline#tabs 2016-03-20 00:45:08 +09:00
itchyny
00af0f6ec9 use arguments abbreviation to make tests of tabline more readable 2016-03-20 00:06:41 +09:00
itchyny
0622b9572f add tests for abbreviation in tabline 2016-03-19 23:15:02 +09:00