Commit Graph

1211 Commits

Author SHA1 Message Date
Christian Brabandt 08a8779268 do not echo feedkeys() arguments
Try a different approach, that does not echo
the commandline. For that, create a <silent> mapping,
that is called via feedkeys() and as such should update the tabline.

fixes #1011
2016-02-08 21:16:38 +01:00
Christian Brabandt b48b166a22 Merge pull request #911 from sappo/master
Problem: CtrlSpace 5.0 integration (statusline + tabline)
2016-02-08 10:44:01 +01:00
Christian Brabandt 9e6a917c52 Merge pull request #1005 from chrisbra/mixed_indent
Detect inconsistent mixed indentation in a file
2016-02-08 10:27:37 +01:00
Christian Brabandt 1043f9c0ce Merge pull request #1003 from chrisbra/less_redraws
Try to avoid excessive redraws.
2016-02-08 10:27:26 +01:00
Christian Brabandt faaf58b2c5 Merge pull request #996 from chrisbra/untracked_improvement
Small improvement for untracked feature
2016-02-08 10:27:13 +01:00
Kevin Sapper a65000211f Problem: Load check variables has changed
Solution: Use the current one from ctrlspace 5.0 + minor style fixes

Problem: CtrlSpace 5.0 does no longer work with airline
Solution: Modify the ctrlspace extension to call the new APIs

The statusline work fine but the custom ctrlspace function
somehow/somewhere gets overridden and I could not figure out where.
Therefore the user must add

let g:CtrlSpaceStatuslineFunction = "airline#extensions#ctrlspace#statusline()"

to its .vimrc.

Problem: Ctrlspace 5.0 does not integrate well into tabline
Solution: Write a tabline extensions for ctrlspace 5.0.

The extensions is capable of showing both tabs and buffers, but only the
buffers of a current tab are shown.
2016-02-08 08:36:25 +01:00
Christian Brabandt e7de5f451a Merge pull request #1008 from chrisbra/performance_regression
fix performance regression
2016-02-07 22:29:30 +01:00
Christian Brabandt 7efa5067ef fix performance regression 2016-02-07 22:17:17 +01:00
Christian Brabandt 3d148154e1 Merge pull request #1006 from chrisbra/tabpagenr
check tabpagenr
2016-02-07 09:10:43 +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
Christian Brabandt b160ffaaf4 Update CHANGELOG.md 2016-02-06 19:06:04 +01:00
Christian Brabandt 7352c8ee9e Detect inconsistent mixed indentation in a file
This is an extension to the whitespace extension.
It can now detect, if there is mixed indentation used within a file,
e.g. (using space for indentation on some lines and using tabs on other
lines.

This fixes #560
2016-02-06 17:46:56 +01:00
Christian Brabandt cb30971901 Merge pull request #1004 from chrisbra/unicode_plugin
Add support for unicode plugin
2016-02-06 16:07:42 +01:00
Christian Brabandt 62c383cefc Add support for unicode plugin
This commit adds support for the :UnicodeTable of https://github.com/chrisbra/unicode.vim
2016-02-06 16:05:29 +01:00
Christian Brabandt af3f209d7a Try to avoid excessive redraws.
Most of them seem to be caused by using :hi statements, although the
highlighting group to be created is exactly the same. Therefore, get the
info from actual definition and only execute :hi when the new group is
actually different.

Also try to avoid to generate :hi statements when the popupmen is
visible. This causes flickers.
2016-02-06 13:55:28 +01:00
Christian Brabandt 0ced03ebf3 Merge pull request #1001 from chrisbra/master
use feedkeys() with "n" flag
2016-02-06 08:51:39 +01:00
Christian Brabandt 73f365cfb9 use feedkeys() with "n" flag 2016-02-06 08:49:50 +01:00
Christian Brabandt de925becf6 Merge pull request #997 from chrisbra/fix_e315
update_tabline() may cause E315
2016-02-06 00:07:29 +01:00
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