Eric Nielsen
a9fc5fc62e
Fix solarized themes colors
...
- Use colors according to
http://ethanschoonover.com/solarized#usage-development , namely dark
mode core colors are only base1, base0, base01, base03, base03
- 'altercation/vim-colors-solarized' also uses base00 in dark mode for
the VertSplit highlight, so use this too (has more contrast)
- Use colors as to optimize contrast, and as to make the same scheme
work for light mode by just inverting the colors (base03 becomes base3
and so on, as in 'altercation/vim-colors-solarized')
- Refactor removing duplicate code
2016-08-07 11:56:31 -05:00
itchyny
430ce2cb06
remove unnecessary double spaces
2016-06-12 22:42:46 +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
c54f599cb4
fix lightline#highlight in case there is no components ( fix #166 )
2016-06-11 14:10:57 +09:00
itchyny
6803c2c1f4
update the doc: tweak the document for lightline#init()
2016-05-26 21:59:17 +09:00
itchyny
3d1857e1d9
update the doc: default value of tab_component
2016-05-25 20:15:32 +09:00
itchyny
ac5e6df5ca
update hte examples in the README and doc: replace the _ variable with branch
2016-05-16 22:53:29 +09:00
itchyny
6de7b19812
update s:line: add the subseparator only when it is no empty
2016-05-14 13:21:26 +09:00
itchyny
4ca31eb271
update lightline#init: use call function instead of eval function
2016-05-13 23:31:28 +09:00
itchyny
e731b248be
update the example configurations: instead of using strlen, compare to empty string
2016-05-11 08:54:04 +09:00
itchyny
a9c74efa36
update the spell component, hide the component when 'spell' is off ( fix #162 , ref #70 )
2016-05-08 13:57:27 +09:00
itchyny
0c7f4f907e
update s:evaluate_expand: use call instead of eval
2016-05-07 22:19:34 +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
92d04a7cc2
use function('uniq')
2016-04-29 13:41:23 +09:00
itchyny
1f44ca0ccf
update s:term
2016-04-24 21:49:54 +09:00
itchyny
cc52241a87
remove the default value from mode_map
2016-04-23 13:49:34 +09:00
itchyny
9a6adb2780
tweak lightline#highlight code
2016-04-20 22:50:21 +09:00
itchyny
5c542a593f
fix lightline#highlight
2016-04-18 01:22:36 +09:00
itchyny
ba2fba9707
use constant values for type(''), type({})
2016-04-17 13:51:00 +09:00
itchyny
a1d35bf9b8
use the cache feature of Travis
2016-04-17 13:34:57 +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
7a2d8533c9
refactor lightline#highlight
2016-04-17 12:53:08 +09:00
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