Christian Brabandt
2d4cb5c1ad
updated travis
...
test switching color schemes
2016-01-31 18:15:39 +01: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
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
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
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
Christian Brabandt
1d8408a7f8
Merge pull request #958 from jmoses/master
...
Fix typo from PR #953
2016-01-28 14:05:09 +01: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
Christian Brabandt
94611d1091
Merge pull request #951 from chrisbra/fix_wordcount
...
fix stupid typo
2016-01-27 21:23:16 +01:00
Christian Brabandt
da21b97529
fix stupid typo
2016-01-27 21:22:39 +01:00
Christian Brabandt
82d1cab392
Merge pull request #950 from chrisbra/msdos_colors
...
Better algorightm, to get msdos colors
2016-01-27 20:46:03 +01:00
Christian Brabandt
b094374f37
Merge pull request #944 from chrisbra/wordcount_formatter
...
Some improvements to the wordcount plugin
2016-01-27 20:41:21 +01:00
Christian Brabandt
1be1ed8810
Merge pull request #947 from chrisbra/custom_trailing_space
...
Allow to customize the trailing whitespace regexp
2016-01-27 20:40:47 +01:00
Christian Brabandt
768a475add
Better algorightm, to get msdos colors
...
currently, full 255 colors were returned, while in fact
msdos console only supports 16 colors. So fix this.
2016-01-27 20:37:58 +01:00
Christian Brabandt
1490f59e75
Merge pull request #949 from chrisbra/cmd_highlighter
...
cmd.exe: Check for NONE/fg/bg of color value
2016-01-27 19:13:51 +01:00
Christian Brabandt
5181d49a63
cmd.exe: Check for NONE/fg/bg of color value
...
Color values can have NONE/fg/bg values as well, and this would
error out.
2016-01-27 19:12:54 +01:00
Christian Brabandt
a1cb468339
Merge pull request #948 from cHoco/patch-1
...
base16-theme: Revert changes for active statusline
2016-01-27 17:29:56 +01:00
Christian Brabandt
453f4b759f
Allow to customize the trailing whitespace regexp
...
Currently, vim-airline uses hard-coded '\s$' to check for trailing
whitespace. However you might want to check for different values.
Therefore, set the variable
g:airline#extensions#whitespace#trailing_regexp to the required regexp
value.
closes #663
2016-01-27 14:18:28 +01:00
Christian Brabandt
020ee382dc
Merge pull request #945 from chrisbra/bufadd_ignore
...
fix issue #939
2016-01-26 20:58:10 +01:00
Christian Brabandt
889492e01c
fix issue #939
2016-01-26 07:52:42 +01:00
Christian Brabandt
97e204f3b6
Some improvements to the wordcount plugin
...
1) allow for custom formatting of the output of the wordcount formatter
This allows for formatting numbers correctly e.g. 1,042 in English
locale and 1.042 in German locale.
2) cache values, so that no on every cursor move the wordcount needs to
be recalculated.
2016-01-25 21:00:05 +01:00
Christian Brabandt
349ca86c71
Correct the comparison for given color codes
...
this issue fixes #758
The problem was, that a given color list ['','',0,'',''] was given to
the airline#highlighter#exec() function. This resulted in the following
comparison:
if (get(colors,2,'') != '') ? 'ctermfg='.colors[2] : ''
which, since echo 0 != '' returns falls will return a single:
:hi group
and no color codes given and therefore, Vim would output the
current highlighting group.
Use isnot# as comparison to fix this issue.
2016-01-25 12:21:34 +01:00
Christian Brabandt
fb76dfbca1
Merge pull request #941 from chrisbra/doc
...
clarify how to add custom parts to the statusline
2016-01-23 22:10:16 +01:00
Christian Brabandt
9e25f52c6f
clarify how to add custom parts to the statusline
2016-01-23 22:09:37 +01:00
Christian Brabandt
cce3e41398
Merge pull request #940 from chrisbra/nrrwrgn
...
NrrwRgn: Only use Utf-8 Glyph in utf8 encoding
2016-01-23 21:35:28 +01:00
Christian Brabandt
e42c0b0f33
NrrwRgn: Only use Utf-8 Glyph in utf8 encoding
...
Fixes #567
2016-01-23 21:31:34 +01:00
Christian Brabandt
b1c00b6cc9
define linenr with bold accent
2016-01-23 12:49:13 +01:00
Christian Brabandt
5923ced2b0
clarify buffer_idx mode mappings
...
Also add mappings for tabmode as suggested.
2016-01-22 20:20:18 +01:00
Christian Brabandt
b6d65b41a0
add xtermlight theme
...
fixes #770
2016-01-22 11:17:20 +01:00
Christian Brabandt
8ae46e989d
update tabline on bufadd events
2016-01-21 21:10:25 +01:00
Christian Brabandt
8afd72d886
Merge pull request #936 from h3xx/fix-logic-simplicity
...
Simplify logic on if statement
2016-01-21 20:50:14 +01:00
Christian Brabandt
d07799421a
Merge pull request #934 from chrisbra/formatter
...
fix typo in documentation about formatters
2016-01-20 23:59:05 +01:00
Christian Brabandt
604f744727
fix typo in documentation about formatters
...
fixes #873
2016-01-20 23:53:14 +01:00
Christian Brabandt
0e6a0b9389
Merge pull request #893 from blueyed/theme-base16-vertsplit
...
base16 theme: use Normal/VertSplit for inactive statusline
2016-01-20 23:31:36 +01:00
Christian Brabandt
fb77c3ac27
Merge pull request #933 from chrisbra/fix_virtualenv
...
fix issue with virtualenv
2016-01-20 23:23:12 +01:00
Christian Brabandt
2ebe79a0d0
fix issue with virtualenv
2016-01-20 23:21:20 +01:00
Christian Brabandt
6c1fb7e275
use silent flag for AirlineSelectTab mappings
2016-01-20 20:07:45 +01:00
Christian Brabandt
7ace10651f
Make the virtualenv extension work better
...
This fixes #511
It allows the virtualenv plugin to call back and tell the airline plugin
to update the statusline. Therefore, the new function
airline#extensions#virtualenv#update() is provided. However, to properly
fix this issue, the virtualenv plugin needs to call this function.
Second, depending on $VIRTUAL_ENV is not safe, since the virtualenv
plugin might define it itsself when calling :VirtualEnvActivate
Therefore skip this test and just test for existance of he
:VirtualEnvList command.
2016-01-20 20:02:21 +01:00
Christian Brabandt
dcfe24bc6d
Merge pull request #929 from chrisbra/preview-window
...
Also draw a nice statusline in the preview window
2016-01-20 19:27:24 +01:00
Christian Brabandt
0a75e493a6
Also draw a nice statusline in the preview window
...
This fixes issue #858
previously, the the on_window_changed() function returned early when the
popupmenu was visible, which also means, that a new preview window
created by the popup menu would not be rendered correctly until one
moves into this window.
Therefore, I made it not return early, even if the popup menu was opened
to make sure, it will be rendered. However, since the popup menu is
open, this might have unwanted consequences, if some plugin or other
function from airline calls some normal mode command (e.g. wordcount
which should not be enabled for preview windows). So this might break
subtile in other areas later.
An alternative might be to just document the fact, that airline won't
color preview windows at all. But I don't like that either.
2016-01-19 20:48:56 +01:00
Christian Brabandt
db6bf458fb
Check window size
...
Before setting showtabline option, make sure, there is enough room
fixes #863
2016-01-17 18:35:24 +01:00
Christian Brabandt
8845f56686
Merge pull request #921 from chrisbra/doc-wordcount
...
use wordcount function if available
2016-01-16 12:56:51 +01:00
Christian Brabandt
06723fc82c
Merge pull request #922 from mhinz/i-cant-think-of-a-good-name-for-this
...
Hunks: make s:source_func local to buffer
2016-01-15 13:16:05 +01:00
Christian Brabandt
17f5eaaa6a
use wordcount function if available
2016-01-15 12:55:23 +01:00
Christian Brabandt
f6fc6419be
adjust default value for wordcount extension
...
document default value for wordcount extension
add text file for wordcount extension
2016-01-14 21:43:45 +01:00
Christian Brabandt
83880b9a1f
Merge pull request #919 from mhinz/fix-readme
...
README updates
2016-01-14 15:04:35 +01:00
Christian Brabandt
c1fbea46bc
autochdir option is only available in big builds
2016-01-05 11:15:20 +01:00
Christian Brabandt
c761566dcf
fix disabled bug
2015-07-10 21:12:30 +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
Christian Brabandt
3acea37fdc
selectively disable airline for selected windows
...
(make it work with Vim 7.3)
2015-01-23 22:45:44 +01:00
Christian Brabandt
f2ae2bd7d0
integrate changesPlugin for displaying hunks
2014-05-27 20:22:59 +02:00
Christian Brabandt
534d8e844b
updated nrrwrgn integration
2014-05-03 14:16:50 +02:00
Christian Brabandt
a90a39b4aa
new NrrwRgn integration
2014-04-23 01:23:42 +02:00
Christian Brabandt
931367d9fb
Enable :AirlineToggleWhitespace,
...
even if g:airline#extensions#whitespace#enabled is disabled
2014-04-20 00:39:43 +02:00
Christian Brabandt
8ec527465d
added airlinetoggle function
2013-08-15 20:48:59 +02:00
Christian Brabandt
c5e21aa170
added csv extension
2013-08-14 00:11:51 +02:00