Commit Graph

645 Commits

Author SHA1 Message Date
itchyny
757fa3daf3 update the test for lightline#link 2016-04-17 12:49:52 +09:00
itchyny
1c3b98128e improve lightline#link 2016-04-17 12:49:38 +09:00
itchyny
cd63ed91ef improve s:hi in the test for lightline#ink 2016-04-17 11:37:24 +09:00
itchyny
424a35fa2b improve lightline#link: use filter before sort 2016-04-16 19:46:23 +09:00
itchyny
a2e5e389e6 refactor lightline#link 2016-04-16 15:57:35 +09:00
itchyny
bf14dc5313 add tests for lightline#link 2016-04-16 15:51:03 +09:00
itchyny
ec7d944f06 update the default components: fileencoding and filetype 2016-04-15 22:30:25 +09:00
itchyny
b69e020756 tweak the configuration for ctrlp (close #159) 2016-04-15 22:14:08 +09:00
itchyny
83de2155e9 improve s:subseparator
- remove duplicated code for component functions
 - remove parenthesis if unnecessary
2016-04-15 00:53:11 +09:00
itchyny
42bec1766f fix tests on Travis
- use 7.2.051 (because vim-themis depends on the patch; the third argument of globpath())
 - take care of PATH correctly (previously the tests were not tested on the intended versions)
2016-04-14 00:22:47 +09:00
itchyny
bb2010a869 fix s:subseparator
- wrap the visible conditions with parenthesis
 - fix for older versions of Vim (do not use v:key of map(); s:map does not capture the environment)
2016-04-14 00:20:50 +09:00
itchyny
d09e0d2099 add more tests for s:subseparator 2016-04-14 00:18:23 +09:00
itchyny
00346c27c0 refactor s:line: skip the type check in the indices because they are all strings (ref: c2b9562) 2016-04-13 20:38:03 +09:00
itchyny
1320fa8e71 refactor s:line: stop using printf() 2016-04-13 20:35:24 +09:00
itchyny
846720c9f2 improve s:line: check existence of component functions in advance 2016-04-13 09:16:29 +09:00
itchyny
abb1a29a38 improve s:line: remove substitute() 2016-04-13 00:36:57 +09:00
itchyny
e8db3fe755 add tests for s:subseparator 2016-04-13 00:12:40 +09:00
itchyny
8e4bb19c7c refactor s:subseparator 2016-04-13 00:12:36 +09:00
itchyny
8226d67fdf update .travis.yml: test on older versions of Vim 2016-04-09 09:59:39 +09:00
itchyny
21c8077db4 fix s:map (#156) 2016-04-08 13:50:31 +09:00
itchyny
7945e6fd90 improve s:map: precisely detect the version 2016-04-08 09:24:06 +09:00
itchyny
402d502b92 implement s:map() to support v:key in {list} for old versions of Vim (fix #156) 2016-04-08 09:02:06 +09:00
itchyny
e888c726f2 refactor lightline#onetab 2016-03-26 16:05:42 +09:00
itchyny
be21933a44 refactor lightline#onetab 2016-03-26 14:02:54 +09:00
itchyny
9c3497939d add more tests for lightline#onetab 2016-03-26 13:59:33 +09:00
itchyny
ec00e383a2 tweak s:uniq 2016-03-25 09:06:06 +09:00
itchyny
5613d7f9b4 improve tests for s:uniq 2016-03-24 23:26:56 +09:00
itchyny
69d0663561 fix s:uniq function 2016-03-24 21:45:05 +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
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