Commit Graph

141 Commits

Author SHA1 Message Date
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