Commit Graph

34 Commits

Author SHA1 Message Date
Christian Brabandt
c8a36e14e9
Updated Copyright Statements 2019-03-25 12:29:47 +01:00
Christian Brabandt
fd5bde1a3a
allow to show the statusline on top
This is an experimental feature that allows to display the statusline in
the tabline. It might still be a bit rough, but seems to work so far.

Remaining problem:
- Mode changes are not immediately detected, only after moving the
  cursor

fixes #1388
closes #1867
2019-02-03 17:30:55 +01:00
Christian Brabandt
5db4c408bd
Update copyright notifications 2018-01-05 10:37:59 +01:00
Christian Brabandt
73a1238205 wrong quoting of condition 2016-12-14 16:10:33 +01:00
Christian Brabandt
c375d050a8 Do not add extra %( %) in the statusline
This was used as a workaround to fix a highlighting bug, which was fixed
in Vim 7.4.1511 and therefore, we need to correctly detect that the
patch was applied and in that case skip adding those extra groups.

As a bonus, when not using those empty %( %) groups, the
skip_empty_section test will correctly handle this and therefore this
closes #1351
2016-12-13 21:14:51 +01:00
thawk
45d77ca909 Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
Christian Brabandt
057b429b02 Check that default value exists, before accessing it
closes #1146
2016-04-27 20:11:40 +02:00
Daniel Hahler
5652b576b0 Add bang to function definitions
This makes it easier to reload the files, e.g. via vim-scriptease's
`:Runtime`.
2016-04-20 21:10:28 +02:00
Christian Brabandt
f57c5daf66 Fix highlighting problems with Vim
1) Make sure airline_error and airline_warning highlighting are
   different, so that the correct separator will be drawn. This
   fixes #982.

2) allow to deactivate %(%) to workaround a vim bug, that may cause
   leaking of colors from one section to the next and adding additional
   spaces. This needs to be fixed upstream:
   https://groups.google.com/d/msg/vim_dev/sb1jmVirXPU/mPhvDnZ-CwAJ
   Possibly, also related to neovim/neovim#4147
   Use `:let airline#extensions#default#section_use_groupitems = 0`
   to disable grouping of statusline items
2016-02-04 16:29:45 +01:00
Christian Brabandt
9c2c0816f5 some more smaller updates 2016-01-30 16:50:37 +01:00
Christian Brabandt
e5c4306698 Do not add empty error section
This prevents, adding a separator in error highlighting, also there
exists no error.
2016-01-28 21:27:07 +01:00
Christian Brabandt
3cc0bfc390 fix issue #955 2016-01-28 11:15:25 +01: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
1ca6ffb6d0 happy 2015
resolves #692.
2015-02-13 21:47:43 -05:00
Bailey Ling
6b4f03efbc fix seperator drawing when tabs are shown. fixes #653. 2014-11-25 21:04:18 -05:00
Quinn Strahl
ed180fda62 Preserve section c text for inactive windows
- Closes #573
2014-08-15 15:44:18 -04:00
Bailey Ling
baed8ac063 happy 2014 2014-01-19 23:44:44 -05:00
Bailey Ling
ccd419bb0f fix 7.2 incompatibility. 2013-09-22 17:43:14 -04:00
bling
bfe35ed76c replace all instance of space with the no-break space. resolves #256. 2013-09-22 11:29:27 -04:00
Bailey Ling
2d465afb95 tweak default truncation values so 80-width still shows all (#259). 2013-09-18 21:33:17 -04:00
Bailey Ling
bed11010ba make the separator optional for older vim versions. resolves #239. 2013-09-10 01:34:35 +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
2f7cf4cffd minor adjustment to inactive sections. 2013-09-03 03:24:41 +00:00
Bailey Ling
c858116f87 hide warning section in inactive splits. 2013-09-01 10:24:24 -04:00
Bailey Ling
8beb275534 fix inactive highlighting colors. 2013-08-28 15:40:09 +00:00
Bailey Ling
39c3ba360e support configurable layouts. 2013-08-28 00:00:23 +00:00
Bailey Ling
ea4e0280fb rename warningmsg to warning. 2013-08-27 23:44:03 +00:00
Bailey Ling
ff975d3d7d move file encoding/type into a part. 2013-08-27 18:39:34 +00:00
Bailey Ling
5c1c985502 tweak width truncation values. 2013-08-27 07:55:28 -04:00
Bailey Ling
bc03ab5cbf support section truncation based on window width. resolves #190. 2013-08-27 01:16:56 +00:00
Bailey Ling
1980c51971 extract core logic into the default extension. 2013-08-27 00:56:54 +00:00