Christian Brabandt
7efa5067ef
fix performance regression
2016-02-07 22:17:17 +01:00
Christian Brabandt
ac86003ac3
Problem with highlighting groups per tabpages
...
The current mode is only cached per window. This will break, if one
switches tabpage. We remember the last mode that was used to create the
highlighting group and compare, if this has changed.
This fixes #670
2016-02-07 09:07:00 +01:00
Bailey Ling
ffe0fafa2d
fix load regression errors with recent theme changes
2016-01-31 01:41:13 -05:00
Bailey Ling
d7fd8ca649
remove all themes from the core repository except for the default.
...
resolves #923
2016-01-29 22:24:49 -05:00
Christian Brabandt
d7f4fbf529
Merge pull request #902 from efirs/ef_ycm_error_warning_count
...
Show YouCompleteMe error and warning count in the statusline
2016-01-28 10:11:37 +01:00
Evgeny Firsov
6d81660fd8
Show YouCompleteMe error and warning count in the statusline
...
Signed-off-by: Evgeny Firsov <firs1978@gmail.com>
2016-01-27 23:21:16 -08:00
Bailey Ling
048b24a916
happy 2016!
2016-01-14 21:38:38 -05:00
Bailey Ling
b7a2159128
Merge pull request #815 from chrisbra/disabled
...
fix disabled bug
2015-10-05 08:51:56 -04:00
Christian Brabandt
c761566dcf
fix disabled bug
2015-07-10 21:12:30 +02:00
Hendrik Purmann
a0110e13bd
Add checks for existing key to make #786 work in neovim
2015-06-09 18:19:16 +02:00
Christian Brabandt
9d90e2cbfe
Add crypt indicator
...
If editing an encrypted file, add an indicator, that the file is
encrypted
2015-06-02 20:40:19 +02:00
James Clarke
0b5ef59cf5
Added support for Neovim's terminal buffer mode
2015-05-25 17:10:27 +01:00
Bailey Ling
36bc297e60
fix statusline out of sync right after colorscheme change
2015-02-27 09:09:26 -05:00
Bailey Ling
1ca6ffb6d0
happy 2015
...
resolves #692 .
2015-02-13 21:47:43 -05:00
Bailey Ling
462ee313e7
use util getwinvar helper function
2015-01-31 12:38:46 -05:00
Christian Brabandt
3acea37fdc
selectively disable airline for selected windows
...
(make it work with Vim 7.3)
2015-01-23 22:45:44 +01:00
Daniel Hahler
7c65176499
Add readonly
indicator also for !&modifiable
...
While typically both are set (e.g. with `:help`), I am using the
modifiable setting alone to prevent editing of some files via an
autocommand (`*.css`, if `*.scss` exists).
I can also set `readonly` for this buffer, but that gets reset when
reloading the buffer, which is not the case for `modifiable`.
2014-08-28 00:23:59 +02:00
Bailey Ling
bfcece76c9
add readonly mode so it can be themed independently. resolves #510
2014-05-10 14:41:21 +00:00
Bailey Ling
baed8ac063
happy 2014
2014-01-19 23:44:44 -05:00
Bailey Ling
491091706f
add guard for possible undefined window context ( #276 ).
2013-10-06 09:03:47 -04:00
Bailey Ling
f26c7d4143
echo warning message if duplicate statusline func gets added.
2013-10-04 10:27:49 -04:00
Bailey Ling
2f3b33daae
fix solarized theme being out of sync ( #288 ).
2013-09-27 21:36:44 -04:00
Bailey Ling
c869665b16
guard against attempting to load invalid themes.
2013-09-25 00:25:20 -04:00
Bailey Ling
66d4c8c893
prevent clobbering startup info message. resolves #156 .
2013-09-23 21:18:52 +00:00
Bailey Ling
d74b3bfdbf
fix inactive modified arrow colors ( #233 ).
2013-09-07 13:00:10 +00:00
Bailey Ling
8b2d58af59
fill in inactive modified colors.
2013-09-05 21:34:48 +00:00
Bailey Ling
83bbd09b0e
check existence of inactive modified colors before using them.
2013-09-05 21:01:08 +00:00
Bailey Ling
5754bcabce
use airline_c for better predicability.
2013-09-05 20:47:38 +00:00
Bailey Ling
01d742794f
basic working independent inactive modified highlights.
2013-09-05 20:45:12 +00:00
Bailey Ling
c144543d03
fixes color change regression. resolves #218 .
2013-09-04 15:25:55 +00:00
Bailey Ling
301fcdc64a
use statusline function for better control.
2013-09-02 18:55:15 +00:00
Bailey Ling
4b33adee42
possible fix for exit code ( #79 ).
2013-09-01 22:25:43 +00:00
Bailey Ling
0ad6deb832
Merge branch 'master' into dev
...
Conflicts:
doc/airline.txt
2013-09-01 10:28:04 -04:00
Bailey Ling
62fa3c37e4
give warning section an orange color by default ( #177 ).
2013-09-01 10:06:25 -04:00
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