Bailey Ling
389650645b
always run the extensions/core funcrefs last.
...
this ensures the user always has priority in customizations.
2013-08-31 11:55:00 -04:00
Bailey Ling
ea4e0280fb
rename warningmsg to warning.
2013-08-27 23:44:03 +00:00
Bailey Ling
1980c51971
extract core logic into the default extension.
2013-08-27 00:56:54 +00:00
Bailey Ling
2f5ba93d0e
leave the loaded colorscheme alone. fixes #184 .
2013-08-25 12:27:21 -04:00
Bailey Ling
0e6035f75c
convert the highlighter into a singleton.
2013-08-24 09:40:20 -04:00
Bailey Ling
f6d8a981b6
add inactive statusline funcrefs into the pipeline.
2013-08-24 09:31:30 -04:00
Bailey Ling
04daa66b48
Revert "inactivate existing statusline without building a new one."
...
This reverts commit 53b856b0c5
.
2013-08-24 01:08:22 -04:00
Bailey Ling
53b856b0c5
inactivate existing statusline without building a new one.
2013-08-24 03:54:55 +00:00
Bailey Ling
3bb451f1f4
pass context into the builder.
2013-08-24 03:18:43 +00:00
Bailey Ling
98eecd7ae2
add error code 1 for easier override.
2013-08-24 03:02:13 +00:00
Bailey Ling
e8d0d24163
prefer function name instead of funcref.
2013-08-24 01:21:09 +00:00
Bailey Ling
c2632f9dbb
introduce g:airline_theme_patch_func ( #173 ).
2013-08-22 19:55:04 -04:00
Bailey Ling
29dc7dd9b5
pass builder into statusline funcrefs.
2013-08-22 19:45:17 +00:00
Bailey Ling
261dafca9d
fold exclude funcrefs into the default one.
2013-08-22 17:32:44 +00:00
Bailey Ling
e83e12447e
break early implicit if return code is not 0.
2013-08-22 17:32:44 +00:00
itchyny
20c5c64590
paste mark is now a member of extensions
2013-08-21 05:29:08 +09:00
itchyny
57cf78ba77
readonly mark is now a member of extensions
2013-08-20 17:18:01 +09:00
Bailey Ling
f780621aa0
support x,y,z theming. resolves #159 .
2013-08-20 01:56:13 +00:00
Bailey Ling
bcba04e20c
account for empty vimrc with no colorscheme set.
2013-08-18 04:56:38 +00:00
Bailey Ling
03c08e819c
autoload themes to match colorscheme. resolves #145 .
2013-08-18 04:44:13 +00:00
Bailey Ling
a8692a7b97
autogenerate bg colors for the file indicator. resolves #131 .
2013-08-18 03:25:24 +00:00
Bailey Ling
45f0d896e9
move all theme variables into a single dictionary
2013-08-18 00:59:49 +00:00
Bailey Ling
1584ee79f6
add missing space
2013-08-17 23:56:50 +00:00
Bailey Ling
f938159d0d
fix inactive responding to modified, fix trimming
2013-08-17 22:03:50 +00:00
Bailey Ling
e7c5bbb671
remove auto prefix. optimize getwinvar
2013-08-17 17:39:36 -04:00
Bailey Ling
3814c21125
optimize newing up the builder
2013-08-17 16:44:53 -04:00
Bailey Ling
3fbdd28e5d
add profiler. optimize separator highlighting.
2013-08-17 17:35:06 +00:00
Bailey Ling
47bfeee3ae
fix separator colors for inactive splits
2013-08-17 15:12:01 +00:00
Bailey Ling
2f92346194
add highlighter class
2013-08-17 12:52:25 +00:00
Bailey Ling
c017c9fbb3
miscellaneous minor changes
2013-08-16 14:57:48 +00:00
Bailey Ling
6e515a4627
remove redundancy from the map
2013-08-16 14:57:48 +00:00
Bailey Ling
30adb973fc
move getwinvar over
2013-08-16 14:57:47 +00:00
Bailey Ling
0e936d0b9a
introduce util file
2013-08-16 14:57:47 +00:00
Bailey Ling
af7dfc8677
update separator colors when mode changes
2013-08-16 14:57:47 +00:00
Bailey Ling
47c80c31da
reload separator colors on demand
2013-08-16 14:57:47 +00:00
Bailey Ling
f477520ba8
move builder to its own file
2013-08-16 14:57:47 +00:00
Bailey Ling
703045a7e6
allow warning section to collapse away
2013-08-16 14:57:47 +00:00
Bailey Ling
8b92cae46c
basic working dynamic statusline builder
2013-08-16 14:57:47 +00:00
Bailey Ling
6a0163104a
unbreak csv extension. redefine gutter as the middle.
2013-08-14 03:53:29 +00:00
Bailey Ling
9dd682212f
make warning a real section. references #136 .
2013-08-13 20:43:04 +00:00
Bailey Ling
14dacaab68
improve bufferline integration; revert to default in inactive splits.
2013-08-11 19:48:14 +00:00
Bailey Ling
11e7e67d8d
introduce g:airline_inactive_collapse. resolves #129 .
2013-08-11 14:30:02 +00:00
Bailey Ling
2a10bfc32f
make the mode and branch text window local
2013-08-11 13:42:47 +00:00
Bailey Ling
384150ecd7
extract iminsert out of core into an extension
2013-08-10 17:02:48 -04:00
bling
e1ff1edcf0
Merge branch '127'
...
Resolves #127 .
Conflicts:
autoload/airline.vim
2013-08-10 12:15:14 -04:00
Bailey Ling
61a39a99ac
add ability to override left/right sides independently
2013-08-10 16:05:49 +00:00
Bailey Ling
8539ac46a6
allow extensions to reload when color scheme changes. resolves #128
2013-08-10 15:50:27 +00:00
Bailey Ling
1d46c5874b
fix warning separator colors out of sync between modes
2013-08-10 13:17:32 +00:00
Bailey Ling
52b4100a4f
reload separator color when colorscheme changes
2013-08-09 20:50:53 -04:00
Bailey Ling
44db0e0c70
fix newb mistake. resolves #125 .
2013-08-09 20:52:18 +00:00
Bailey Ling
aabb061470
temp disable
2013-08-09 20:43:12 +00:00
Bailey Ling
2ba7ce02ec
add powerline separator for warning section
2013-08-09 20:08:57 +00:00
Bailey Ling
f8b2b7be23
add support for select mode. resolves #123 .
2013-08-09 08:05:08 -04:00
Bailey Ling
d2c069b971
make syntastic use the warning section
2013-08-06 21:42:32 -04:00
Bailey Ling
f86eafb674
reorder so that statusline funcrefs get an up to date active flag
2013-08-07 00:47:31 +00:00
Bailey Ling
528f56472c
introduce new warning section, and refactor whitespace into an extension which uses it
2013-08-07 00:17:33 +00:00
Bailey Ling
4d67c802b3
Merge pull request #120 from farseer90718/master
...
add white space detection
2013-08-06 16:35:24 -07:00
Bailey Ling
ae587c3dcb
add ctrlp support for most themes
2013-08-06 20:52:52 +00:00
farseer90718
164aa6f73c
add white space detection
2013-08-07 00:17:57 +08:00
Bailey Ling
c1e74d72e0
Merge branch 'ext'
...
Conflicts:
autoload/airline/extensions.vim
2013-08-06 15:26:32 +00:00
Bailey Ling
835f718cb6
reload colors when tomorrow theme changes
2013-08-06 08:31:45 -04:00
Bailey Ling
e858eaa990
fix branch detection
2013-08-06 00:42:59 -04:00
Bailey Ling
ac211a58eb
extract all plugin related functionality out of the core
2013-08-06 03:34:45 +00:00
Bailey Ling
0758e2a88c
fix regression, allow statusline funcrefs to execute
2013-08-05 20:31:10 +00:00
Bailey Ling
238ab44489
invoke funcrefs a different way, resolves #115 .
2013-08-05 20:16:52 +00:00
Bailey Ling
926be0bd8a
collapse section when it is empty text ( #70 ).
2013-08-04 01:37:34 +00:00
Bailey Ling
10fa73996b
loop differently so it works in 7.2
2013-08-03 20:56:37 +00:00
Bailey Ling
e446f6a2fb
fix placement of readonly, add support for startify
2013-08-03 16:06:29 +00:00
Bailey Ling
41a739d602
move syntastic implementation out of core
2013-08-03 11:23:45 -04:00
Bailey Ling
94895de8e2
rename window_override_funcrefs to statusline_funcrefs
2013-08-03 11:14:02 -04:00
Bailey Ling
257a9f2ed9
move updating external values into extensions
2013-08-03 10:59:34 -04:00
Bailey Ling
c655bdc233
move helper functions into update statusline, they're not used anywhere else
2013-08-03 10:58:25 -04:00
bootleq
410792ed48
Remove space-padding works outside of get_section.
2013-08-03 10:09:55 +08:00
bootleq
5ebb0daf93
Add prefix/suffix options for s:get_section.
...
For output format other than default 1 space padding.
Need this to keep original section_c style:
let sl.=l:status_color.' %<'.s:get_section(a:winnr, 'c').' '
2013-08-03 10:09:55 +08:00
bootleq
dcb7196097
Add padding spaces for section in s:get_section.
...
When section text is non-empty, pad spaces before/after it.
2013-08-03 10:09:49 +08:00
Bailey Ling
5099fbf1b9
move tagbar definition into predefined section
2013-08-03 00:51:24 +00:00
Bailey Ling
9844f14f66
change license to MIT
2013-08-02 19:43:24 +00:00
Bailey Ling
39e0df4b2d
fix typo of typo fix
2013-08-02 17:59:52 +00:00
Bailey Ling
d833ae041d
fix typos in readme
2013-08-02 08:21:47 -04:00
Bailey Ling
577e50d788
first class integration with tagbar
2013-07-31 20:07:14 +00:00
Bailey Ling
d56b9bbfcd
modify active window algorithm, resolves #106 .
2013-07-31 14:31:51 +00:00
Bailey Ling
e4558340b0
keep left override styles intact when inactive; use powerline separator for iminsert
2013-07-28 19:25:48 -04:00
Bailey Ling
161daa7942
deprecate fugitive variable names in favour of scm-agnostic variable names
2013-07-27 18:15:00 -04:00
Bailey Ling
d1ee91eadf
update the ctrlp theme when the airline theme changes
2013-07-27 14:02:43 +00:00
Bailey Ling
bce1632c42
clearly separate core functionality from implementation
2013-07-25 22:29:18 +00:00
Bailey Ling
ec86f66510
move paste detection into statusline and check enabled
2013-07-25 22:09:17 +00:00
Bailey Ling
407d8728c0
iterate available keys for each mode
2013-07-25 14:23:24 +00:00
Bailey Ling
dcc0c7c84b
avoid using funcrefs in the core implementation ( #91 ).
2013-07-25 12:00:17 +00:00
Kirill Klenov
c16cafb2bb
Support &iminsert.
2013-07-24 15:35:31 +04:00
Bailey Ling
221864cfdc
make modified/paste detection an option
2013-07-22 21:23:41 +00:00
Bailey Ling
8a2890625b
prepare for bufferline highlight support
2013-07-20 22:22:16 -04:00
maciej
645c67731c
Add lawrencium support
2013-07-18 07:56:29 +02:00
Bailey Ling
6388005c46
allow g: gutter to be specified, integrate with vimshell, use get() for :w variables
2013-07-17 22:28:21 -04:00
Bailey Ling
5fefc84413
toggle inactive mode the same way as the other modes
2013-07-16 02:36:23 +00:00
Bailey Ling
07a8bc6258
fixes intro screen getting clobbered. resolves #68 .
2013-07-14 16:45:03 -04:00
Bailey Ling
c45e1bcf10
move paste indicator into the default section_a value.
2013-07-14 16:41:31 -04:00
Bailey Ling
39ae9c61ce
add g:airline_exclude_preview option. resolves #72 .
2013-07-14 15:44:16 -04:00
Bailey Ling
a8a34b8992
treat inactive as a new mode, allowing it to be themeable ( #59 ).
2013-07-13 02:39:38 +00:00
Bailey Ling
78946af962
upgrade replace to a mode of its own.
2013-07-11 03:03:50 +00:00
Bailey Ling
6b94397105
make theme switching more robust, better autocomplete, and reset inactive highlights
2013-07-10 22:22:13 +00:00