Commit Graph

1443 Commits

Author SHA1 Message Date
Christian Brabandt
050945f087 update_tabline() may cause E315
This is probably a bug in Vim because redrawing might cause
Vim to actually try to access a line of the buffer, that hasn't
been loaded yet.

Therefore try to update the tabline, by performing a two :set mod!
calls.
2016-02-06 00:03:27 +01:00
Christian Brabandt
ae85179c3a Merge pull request #994 from chrisbra/neovim_fix
fix neovim color mode
2016-02-05 23:54:55 +01:00
Christian Brabandt
0022de3b78 Small improvement for untracked feature
first argument of git status is <pathspec> in git speech,
and so if you feed it a directory, that contained an untracked file,
the directory would be marked as untracked. So fix this.
2016-02-05 23:11:37 +01:00
Christian Brabandt
87d60febaf fix neovim color mode 2016-02-05 22:47:57 +01:00
Christian Brabandt
fdb74f549d Make the BOM indicator '[BOM]'
also, not-exists symbol has nothing to do with powerline fonts, so fix
that.
2016-02-05 18:19:53 +01:00
Christian Brabandt
89094025c0 Merge pull request #992 from chrisbra/bomb_indicator
Add Bomb indicator
2016-02-05 11:41:57 +01:00
Christian Brabandt
42b59a05bf Add bomb indicator to the encoding section. 2016-02-05 11:36:47 +01:00
Christian Brabandt
b2bf331d6b Merge pull request #991 from metalelf0/master
Neovim true color support
2016-02-05 09:29:19 +01:00
Andrea Schiavini
ef3746d022 Neovim support 2016-02-05 09:19:31 +01:00
Christian Brabandt
3f927b587d Revert "remove wrong backslash"
This reverts commit da3f3bf1d7.
2016-02-04 19:03:25 +01:00
Christian Brabandt
d8adbfa135 Add untracked feature to branch extension.
This will show a little not-existing sign in a buffer,
if that file lives in a git/hg repository but does not exists
there yet. Use `:let g:airline_symbols.notexists='!'` to configure
the '!' as symbol. By default, will use U+2204 symbol

To not impact performance by shelling out a lot, the result is cached
until the buffer is written or a shell command is issued.

Should work with mercurial and git.

fixes #925
2016-02-04 16:43:42 +01: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
da3f3bf1d7 remove wrong backslash 2016-02-04 16:25:27 +01:00
Christian Brabandt
9d1196f40a add changelog 2016-02-02 22:42:20 +01:00
namark
d6a42528a1 Made fugitive and lawrencium coexist in peace,
meaning that branches retrieved from those are now displayed side by
side. The order can be customised with g:airline#extensions#branch#vcs_priority.
The VCS name is now prepended to the branch name to be able to tell
which is which. The VSCCommand behaviour is unchanged.
Also restructured the code a little bit, and made found_fugitive_head
variable behave as its name suggests.
2016-02-01 22:51:34 +01:00
Christian Brabandt
7c234a0139 Merge pull request #983 from adarsh/ap-update-theme-documentation
Link to new theme repository in README.md
2016-02-01 10:52:34 +01:00
Adarsh Pandit
ddbc454315 Link to new theme repository in README.md
Reason for Change
=================
* As of [this commit], themes are now in a separate repository.
* The `README.md` file does not reflect this change as of yet.

[this commit]: d7fd8ca649.

Changes
=======
* Mention the external themes when discussing them.
* Create a new "Themes" sub-section and add information on how to add them.

Note: this addresses Issue #981.
2016-01-31 21:41:15 -08:00
Christian Brabandt
dbb4d3236b Merge pull request #980 from chrisbra/test_colorscheme
updated travis
2016-01-31 21:24:50 +01:00
Christian Brabandt
2d4cb5c1ad updated travis
test switching color schemes
2016-01-31 18:15:39 +01:00
Bailey Ling
8c860b7045 Merge pull request #977 from vim-airline/theme-fix
fix load regression errors with recent theme changes
2016-01-31 08:43:55 -05:00
Bailey Ling
ffe0fafa2d fix load regression errors with recent theme changes 2016-01-31 01:41:13 -05:00
Christian Brabandt
c34b29beb4 Merge pull request #973 from chrisbra/airline_error
some more smaller updates
2016-01-30 21:02:24 +01:00
Christian Brabandt
31730c6ec8 Merge pull request #976 from tuopen/master
Fix issue when an airline theme and an external colorscheme have been defined
2016-01-30 20:45:59 +01:00
Tuomas Penttilä
905522cd8b Fix issue when an airline theme and an external colorscheme have been defined 2016-01-30 21:35:14 +02:00
Christian Brabandt
9c2c0816f5 some more smaller updates 2016-01-30 16:50:37 +01:00
Christian Brabandt
c88f04cd1a Merge pull request #972 from chrisbra/doc
small update to documentation
2016-01-30 16:50:03 +01:00
Christian Brabandt
e60611691f small update to documentation 2016-01-30 16:07:17 +01:00
Christian Brabandt
6e223196ff Merge pull request #971 from chrisbra/fix_travis
Fix travis failure because of missing simple theme
2016-01-30 15:08:04 +01:00
Christian Brabandt
5ed7c81b6d fix travis failing 2016-01-30 15:06:22 +01:00
Evgeny Firsov
e685bae41e Update documentation with YCM extension enable/disable instruction 2016-01-30 14:18:20 +01:00
Evgeny Firsov
44045bc280 Disable YCM extension by default
Move syntastic and eclim to the error section
2016-01-30 14:18:20 +01:00
Christian Brabandt
450e2535af Merge pull request #960 from chrisbra/airline_error
Airline error improvements.
2016-01-30 14:09:24 +01:00
Christian Brabandt
512d03d81b Merge pull request #970 from chrisbra/theme_init
Fix break for non-existing g:airline_theme variable. Merging now, so that the error message disappears. If there are more problems, we can fix them later.
2016-01-30 14:08:01 +01:00
Christian Brabandt
e7560025d1 Fix break for non-existing g:airline_theme
fixes #969
2016-01-30 14:03:01 +01: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
Bailey Ling
ce44577f1b move branch variable into the extension 2016-01-29 09:29:40 -05: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
90af4618f5 only init ycm extension, when YCM is available 2016-01-28 17:39:15 +01:00
Bailey Ling
1887b782e3 Merge pull request #959 from rubbsdecvik/master
Make FAQ URL reflect new Org
2016-01-28 11:37:48 -05:00
Patrick Regan
392ea2b185 Make FAQ URL reflect new Org
While the URL redirect properly, having all URLs reflect the final
destination is best to present a unified message.
2016-01-28 11:30:10 -05:00
Bailey Ling
b7a74b1748 remove deprecated variables
over 2 years is more than enough warning...
2016-01-28 09:54:14 -05:00
Christian Brabandt
1d8408a7f8 Merge pull request #958 from jmoses/master
Fix typo from PR #953
2016-01-28 14:05:09 +01:00
Jon Moses
e50b34ff63 Fix typo from PR #953 2016-01-28 07:58:29 -05:00
Christian Brabandt
141f9358a2 Merge pull request #953 from chrisbra/airline_refresh
When calling :AirlineRefresh, also update branch name
2016-01-28 11:21:24 +01:00
Christian Brabandt
1f2ac998d7 Merge pull request #956 from chrisbra/fix_issue_955
fix issue #955
2016-01-28 11:19:21 +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
Christian Brabandt
70ca735af0 When calling :AirlineRefresh, also update branch name
fixes #584
2016-01-28 09:49:09 +01:00
Evgeny Firsov
2711863088 Added documentation for YCM extenstion
Signed-off-by: Evgeny Firsov <firs1978@gmail.com>
2016-01-28 00:40:27 -08: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