kazukazuinaina
a6886f2997
[add] fail fast options
2021-01-02 16:09:32 +09:00
kazukazuinaina
1962371666
add vim9script branch in CI
...
NOTE: CI didn't work without explicitly specifying the branch.
2021-01-02 15:58:54 +09:00
kazukazuinaina
2062dd2f98
delete travis.yml
2021-01-02 15:54:05 +09:00
kazukazuinaina
0e91eeb548
[add] github-actions
...
Note: According to an email from travis-ci, travis-ci.org will be officially closed down completely on December 31st, 2020
2021-01-02 15:51:33 +09:00
Christian
4b02724d0c
highglighter: Vim9 script correctly convert hex string to number
2020-11-27 10:43:54 +01:00
Christian
f54f7859a3
tabline: disable Vim9 script add_tab_label
2020-11-27 10:43:54 +01:00
Christian
4bce179ed3
themes: fix syntax errors in Vim9 script for patch func
2020-11-27 10:43:54 +01:00
Christian
2083bfe890
highlighter: correctly get the colors from global palette for Vim9
2020-11-27 10:43:54 +01:00
Christian
084dfe017d
highlighter: cast Vim9 variables to correct type
2020-11-27 10:43:54 +01:00
Christian
ad7dcbdece
tabline: disable Vim9 script functions that do not work currently
2020-11-27 10:43:54 +01:00
Christian
bb204d1fee
tabline: fix vim9 syntax error in group_of_bufnr
2020-11-27 10:43:53 +01:00
Christian
a678556366
dark: convert theme to Vim9 script
2020-11-27 10:43:53 +01:00
Christian
def61b1450
themes: fix Vim9 syntax error in patch func
2020-11-27 10:43:53 +01:00
Christian
3de44bc58f
themes: fix Vim9 syntax error in get_highlight2
2020-11-27 10:43:53 +01:00
Christian
dcb36f0480
themes: fix vim9 syntax errors in generate_color_map
2020-11-27 10:43:53 +01:00
Christian
21f329cd70
themes: Vim9 script implementation of patch
2020-11-27 10:43:53 +01:00
Christian
0eee611a0e
themes: Vim9 script implementation of get_highlight and get_highlight2
2020-11-27 10:43:53 +01:00
Christian
4e4663c71c
themes: Vim9 script implementation of generate_color_map
2020-11-27 10:43:52 +01:00
Christian
0a80997100
themes: prepare for vim9script implementation
2020-11-27 10:43:52 +01:00
Christian
f08b7912c6
themes: add modeline
2020-11-27 10:43:52 +01:00
Christian
d49b655e72
tabline: fix possible vim9script error in init func
2020-11-27 10:43:52 +01:00
Christian
70dc69fcd8
tabline: fix errors in Vim9script get_buffer_name
2020-11-27 10:43:52 +01:00
Christian
cdb265c410
tabline: fix errors in Vim9script title function
2020-11-27 10:43:52 +01:00
Christian
de3dbfcb3c
tabline: fix errors in Vim9script load_theme
2020-11-27 10:43:51 +01:00
Christian
cc2a836b9a
tabline: Vim9 script implementation of add_tab_label
2020-11-27 10:43:51 +01:00
Christian
6ff95bac4e
tabline: Vim9 script implementation of add_label
2020-11-27 10:43:51 +01:00
Christian
c8c30c9e3e
tabline: Vim9 script implementation of group_of_bufnr
2020-11-27 10:43:51 +01:00
Christian
a77cd28ecc
tabline: Vim9 script implementation of new_builder
2020-11-27 10:43:51 +01:00
Christian
6a6945d45d
tabline: Vim9 script implementation of get_buffer_name func
2020-11-27 10:43:51 +01:00
Christian
d5ffa5fd58
tabline: Vim9 script implementation of #title func
2020-11-27 10:43:50 +01:00
Christian
b10c1107e1
tabline: init function, do call autocommand functions
2020-11-27 10:43:50 +01:00
Christian
4f59fef538
move script local variable current_tabcnt to top
2020-11-27 10:43:50 +01:00
Christian
e59a654d17
tabline: Vim9 script implementation of get()
2020-11-27 10:43:50 +01:00
Christian
18ae588bad
tabline: remove bang attribute in load_theme func definition
2020-11-27 10:43:50 +01:00
Christian
86c466d81e
tabline: fix vim9 error in enable func
2020-11-27 10:43:50 +01:00
Christian
c08b1c0c75
tabline: fix vim9 error in toggle_on func
2020-11-27 10:43:49 +01:00
Christian
3d536ef950
tabline: fix vim9 error in init func
2020-11-27 10:43:49 +01:00
Christian
02aaaf94e8
tabline: Vim9 script implementation of load_theme
2020-11-27 10:43:49 +01:00
Christian
bbc70019f6
tabline: Vim9 script implementation of enable
2020-11-27 10:43:49 +01:00
Christian
0bc7ff3629
tabline: Vim9 script implementation of redraw
2020-11-27 10:43:49 +01:00
Christian
7880f0a73c
tabline: Vim9 script implementation of update_tabline
2020-11-27 10:43:49 +01:00
Christian
5502e5302d
tabline: Vim9 script implementation of toggle_on
2020-11-27 10:43:48 +01:00
Christian
59c906da4d
tabline: Vim9 script implementation of toggle_off
2020-11-27 10:43:48 +01:00
Christian
19f8be42b6
tabline: Vim9 script implementation of #init function
2020-11-27 10:43:48 +01:00
Christian
e81d400b09
tabline: check existence of "e" flag in guioptions
2020-11-27 10:43:48 +01:00
Christian
5062eeeaed
tabline: add foldmarkers and remove some empty lines
2020-11-27 10:43:48 +01:00
Christian
e6bd342293
tabline: prepare for vim9script implementation
2020-11-27 10:43:48 +01:00
Christian
caaa553ce9
tabline: set expandtab and foldmarker to modeline
2020-11-27 10:43:47 +01:00
Christian
b4e38be8b8
highlighter: fix indentation (tabs)
2020-11-27 10:43:47 +01:00
Christian
252b89bb1f
default tabline formmatter: fix indentation
2020-11-27 10:43:47 +01:00
Christian
b271c279d6
default tablineformmter: get rid of s: vars in legacy implementation
2020-11-27 10:43:44 +01:00
Christian
9387517f01
default tablineformatter: implement as vim9 script
2020-11-27 10:42:16 +01:00
Christian
8ec6f1e40f
tabline formatter: prepare for vim9 script implementation
2020-11-27 10:42:13 +01:00
Christian
0d0c380940
highlighter: fix a couple of vim9script errors and fix indentation
2020-11-27 10:40:38 +01:00
Christian
9f7557df44
highlighter: remove ! from :def in vim9script
2020-11-27 10:40:38 +01:00
Christian
f615f8bad3
autoload: bufnr argument of #highlight function is actually a string
2020-11-27 10:40:38 +01:00
Christian
f5e2f97003
highlighter: vim9 script implementation of #highlight()
2020-11-27 10:40:38 +01:00
Christian
14fd943dc6
highlighter: vim9 script implementation of highlight_modified_inactive
2020-11-27 10:40:37 +01:00
Christian
e9d4ff75da
highlighter: vim9 script implementation of add_accent
2020-11-27 10:40:37 +01:00
Christian
9b32ed3229
highlighter: remove ! from :def in vim9script
2020-11-27 10:40:37 +01:00
Christian
58b2a8bbc8
highlighter: add foldmarker at final endif
2020-11-27 10:40:37 +01:00
Christian
5ac55ea4e5
highlighter: vim9 script implementation of add_separator
2020-11-27 10:40:37 +01:00
Christian
56ba4b34a7
highlighter: vim9 fix duplicate variable name in s:exec_separator function
2020-11-27 10:40:37 +01:00
Christian
798a346a91
highlighter: vim9 script implementation of load_theme
2020-11-27 10:40:36 +01:00
Christian
4f8675434a
highlighter: get rid of superflous l: var prefix
2020-11-27 10:40:36 +01:00
Christian
5391b3e246
highlighter: vim9 script implementation of s:exec_separator
2020-11-27 10:40:36 +01:00
Christian
7310ca6cbf
highlighter: run ex command with leading colon in vim9 function #exec
2020-11-27 10:40:36 +01:00
Christian
9ae38b43e4
highlighter: vim9 script implementation of s:GetHiCmd
2020-11-27 10:40:36 +01:00
Christian
2441084898
highlighter: vim9 script implementation of s:CheckDefined
2020-11-27 10:40:36 +01:00
Christian
d9947beb0f
highlighter: vim9 script implementation of #exec
2020-11-27 10:40:36 +01:00
Christian
a6b7267979
highlighter: vim9 script implementation of s:hl_group_exists
2020-11-27 10:40:35 +01:00
Christian
90de76359f
highlighter: use synIDtrans() in s:hl_group_exists (legacy vimscript)
...
When checking the defined foreground color in the function that checks
whether a highlighting group exists, it should follow the syntax group
links and check the final color.
2020-11-27 10:40:35 +01:00
Christian
0238d386bb
highlighter: vim9 script implementation of get_highlight2
2020-11-27 10:40:35 +01:00
Christian
19861861fd
highlighter: vim9 script implementation of get_highlight
2020-11-27 10:40:35 +01:00
Christian
687fb52d9f
fix indentation of legacy vimscript (remove tabs)
2020-11-27 10:40:35 +01:00
Christian
aa8bd171f3
highlighter: vim9 script implementation of reset_hlcache
2020-11-27 10:40:35 +01:00
Christian
b152059a98
highlighter: vim9 script implementation of s:get_array
2020-11-27 10:40:34 +01:00
Christian
4d75c9940c
highlighter: vim9 script implementation of s:get_syn
2020-11-27 10:40:34 +01:00
Christian
ae3af85ca2
highlighter: remove a couple of empty lines in legacy vimscript implementation
2020-11-27 10:40:34 +01:00
Christian
a9f525f8da
highlighter: vim9 script implementation of s:group_not_done
2020-11-27 10:40:34 +01:00
Christian
3e93c212cc
highlighter: vim9 script implementation of s:gui2cui
2020-11-27 10:40:34 +01:00
Christian
a8afa434e3
highlighter: Add condition for new vim9 script implementation
...
Add a new condition that will contain the new vim9script implementation
of the highlighter logic. Not done yet.
To test it out, you need a recent Vim 8.2 and in addition set the
configuration variable
:let g:airline_experimental=1
Implementation for all the functions will follow.
2020-11-27 10:40:34 +01:00
Christian
b0d4a44f0c
add foldmarker to highlighter.vim
2020-11-27 10:40:33 +01:00
Christian
0abcdbeba5
convert msdos.vim
2020-11-27 10:40:33 +01:00
Christian
609205f1e8
remove trailing whitespace
2020-11-27 10:40:33 +01:00
Christian
06117a61e1
highlighter: windows terminal is not old win_term
2020-11-27 09:49:17 +01:00
Christian Brabandt
79eac1558a
Merge pull request #2293 from srinivas32/master
...
added power support arch ppc64le on yml file.
2020-11-27 08:32:38 +01:00
Christian Brabandt
157af8ad8b
tabline: use airline#util#strcharpart instead on relying on stpart() with char index
2020-11-26 14:00:29 +01:00
Christian Brabandt
cbf0a8e69a
tabline: use strpart() with chars if possible ( fixes #2297 )
2020-11-26 10:04:43 +01:00
Christian Brabandt
a168ca7a28
tabline: get rid of s:vars in default formatter
2020-11-26 10:04:43 +01:00
Christian Brabandt
a48f67657f
Merge pull request #2295 from nbCloud91/patch-1
...
coc_status should show with autochdir
2020-11-21 20:03:04 +01:00
nbCloud91
332fff9206
coc_status should show with autochdir
...
coc_status should be visible even with autochdir setting on.
2020-11-21 20:47:17 +05:30
srinivas32
c378a0aeb7
added power support arch ppc64le on yml file.
...
Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le.
2020-11-20 13:27:49 +05:30
Christian
91a8ada0f9
doc: document tabline highlighting groups ( closes #2285 )
2020-11-19 14:17:22 +01:00
Christian
beb20cb49f
doc: mention that the tabline mappings are not automatically created
...
related: #2290
2020-11-19 13:52:08 +01:00
Christian Brabandt
536667191d
Merge pull request #2287 from timfeirg/master
...
buf_diagnostics_count is deprecated. Use 'vim.lsp.diagnostic.get_count'
2020-11-14 12:11:18 +01:00
timfeirg
5eae08609e
fix deprecation warning
...
code is copied from https://github.com/vim-airline/vim-airline/issues/2289
originally contributed by @cmccannbrite
2020-11-14 17:01:19 +08:00
Christian Brabandt
731bdb11d2
Merge pull request #2286 from jan-xyz/patch-1
...
remove work-around for vista.vim
2020-11-10 08:47:56 +01:00
Jan Steinke
df096e16ae
remove unnecessary indirection
2020-11-10 08:40:42 +01:00
Jan Steinke
7091b8a6ff
remove work-around for vista.vim
2020-11-09 20:17:05 +01:00
Christian Brabandt
9267cef0f8
Merge pull request #2282 from martskins/handle-lcn-not-running
...
Check LanguageClient-neovim's status before getting diagnostics
2020-11-09 18:35:51 +01:00
Christian Brabandt
bb760710cc
Merge pull request #2283 from Kamilcuk/master
...
Fix typo in checking if gen_tags plugin is loaded
2020-11-09 18:26:12 +01:00
Kamil Cukrowski
f6f8666533
Fix bug in checking if gen_tags plugin is loaded
2020-11-08 11:01:26 +01:00
Martin Asquino
bd5ae9c584
Check LanguageClient-neovim's status before getting diagnostics
2020-11-07 12:59:13 +00:00
Christian Brabandt
5f2421fa39
Merge pull request #2276 from kazukazuinaina/fix_indent_bookmark_extension
...
[fix] bookmark extension's indentation and add abort
2020-11-06 09:11:35 +01:00
Christian Brabandt
3f4b811510
Merge pull request #2278 from kazukazuinaina/fix_short_path_space
...
[fix] short path formatter's space
2020-11-06 09:10:34 +01:00
kazukazuinaina
1ed922265a
[fix] short path formatter's space
2020-11-05 23:44:29 +09:00
kazukazuinaina
83804f3c6d
[fix] bookmark extension's indentation and add abort
2020-11-05 23:14:13 +09:00
Christian Brabandt
d64e5f8dd7
extensions: fix E715
...
Make sure, that the get() function returns the correct variable type
2020-11-05 10:36:03 +01:00
Christian Brabandt
dcebc6d2aa
Merge pull request #2273 from NFrid/master
...
add more customization options for keymap extension
2020-11-05 09:23:58 +01:00
Nick Friday
193460137a
[add#keymap] more customization
...
Added more customization for keymap extension
2020-11-04 20:46:00 +03:00
Christian Brabandt
44b7b72938
Merge pull request #2266 from vim-airline/refactor_airline_gui_mode
...
Get rid of g:airline_gui_mode
2020-10-30 09:18:29 +01:00
Christian Brabandt
c8c0e7d9ff
Get rid of g:airline_gui_mode
...
This is needed for Neovim, because an external UI could be attached to
the same neovim server, so it does not make sense to define highlighting
groups with either only the cterm or the guifg attribute set.
So refactor the code slightly got get rid of this variable (and since
this variable is not needed anymore, we can also get rid of the guienter
and OptionSet autocommand).
fixes : #2261
2020-10-30 08:32:35 +01:00
Christian Brabandt
38c9f9ca3d
Merge pull request #2256 from Kamilcuk/master
...
Add gen_tags.vim plugin support
2020-10-29 13:41:35 +01:00
Kamil Cukrowski
42b31b966b
Add gen_tags.vim plugin support
...
Display a "Gen. gen_tags" text in section x when gen_tags
is generating tags, similar to gutentags support.
2020-10-22 00:16:05 +02:00
Christian Brabandt
8608270bd3
Merge pull request #2257 from weirane/nroff-wordcount
...
Add nroff to wordcount
2020-10-18 16:48:42 +02:00
Christian Brabandt
85c64a668d
Merge pull request #2259 from subnut/master
...
Improve the documentation of localsearch extension
2020-10-18 16:48:20 +02:00
Subhaditya Nath
34968bf65c
Improve the documentation of localsearch extension
...
Fixed the copy-paste error mentioned by @chrisbra at
https://github.com/vim-airline/vim-airline/pull/2240#discussion_r494570378
Also improved the wording a bit
2020-10-17 20:05:22 +05:30
Wang Ruochen
19ab70ee87
Add nroff to wordcount
2020-10-17 16:54:46 +08:00
Christian Brabandt
83bd08a97a
Merge pull request #2243 from whisperity/battery-plugin-no-overwrite
...
[battery.vim] Change indicator to not overwrite position section
2020-10-14 09:04:46 +02:00
Christian Brabandt
14abb40287
Merge pull request #2255 from JNRowe/master
...
Fix doc for enabling wordcount’s reading time support
2020-10-14 09:04:08 +02:00
James Rowe
4e03ac85f9
Fix doc for enabling wordcount’s reading time support
2020-10-13 18:19:02 +01:00
IK
9c0a85de2f
Merge pull request #2254 from kazukazuinaina/fix_localsearch_url
...
[fix] localsearch's url and add abort in autoload function
2020-10-14 01:45:56 +09:00
kazukazuinaina
659693c250
[fix] localsearch's url and add abort in autoload function
2020-10-14 01:17:00 +09:00
Whisperity
2762f7e6e5
[battery.vim] Move indicator to non-overwriting position if window big enough
2020-10-12 17:58:47 +02:00
IK
06747d11be
Merge pull request #2250 from kazukazuinaina/fix_variable_scope
...
[fix] Variable's Scope in ctrlspace's extension
2020-10-12 17:48:01 +09:00
Christian Brabandt
7087c475be
Merge pull request #2253 from adrian5/master
...
Fix wording/typos in doc
2020-10-12 10:18:53 +02:00
adrian5
2ad2eeb9ca
Fix wording/typos in doc
2020-10-11 16:05:44 +02:00
kazukazuinaina
0a5753813c
[fix] Variable Scope in ctrlspace's extension
2020-10-10 02:08:23 +09:00
Christian Brabandt
aa773f5cdf
Merge pull request #2248 from MuhammadMouradG/master
...
Fix buffer order in tabline with CtrlSpace plugin
2020-10-06 14:41:34 +02:00
MuhammadMouradG
f117de553b
Fix buffer order in tabline with CtrlSpace plugin
2020-10-06 12:36:28 +00:00
Christian Brabandt
958ffe059a
doc: fix grammatical typo
...
fixes : #2246
2020-10-05 10:50:05 +02:00
Christian Brabandt
9614105d09
Merge pull request #2240 from subnut/master
...
Add more customization for 'localsearch' extension
2020-09-26 08:50:14 +02:00
Subhaditya Nath
3fc5ad231c
Add more customization for 'localsearch' extension
...
Now it can be configured to show only when localsearch is disabled. It
is useful if you mostly keep localsearch enabled and don't want to keep
seeing the extra 'LS' section, but still want to have some kind of a
visual indication about when localsearch is disabled.
2020-09-26 01:16:48 +05:30
Christian Brabandt
3740312de0
Merge pull request #2234 from kmoschcau/master
...
Improve the term extension and make it consistent
2020-09-16 11:59:03 +02:00
Moschcau, Kai
d40e5f9a1d
Improve the term extension and make it consistent
...
This improves the term extension in a few ways.
First it fixes some vint warnings about case sensitive comparisons.
Next it makes the active and inactive variants consistent, as well as
making the line number display consistent to other buffer types. This
was one of the main reasons to do this, because the inclusion of the
Neoterm ID in a previous pull request made inactive terminal status
lines look really inconsistent compared to the active ones.
Further this now shows the Neoterm ID in both active and inactive
buffers in Airline section B. It also removes the now redundant
Neoterm IDs from the buffer name in both Neovim and Vim.
Finally the cosmetic buffer name is now used for both active and
inactive variants.
2020-09-16 09:41:18 +02:00
Christian Brabandt
bf4bba4c5a
Merge pull request #2237 from kazukazuinaina/update_gitignore
...
[update] .gitignore
2020-09-15 14:15:31 +02:00
Christian Brabandt
3272a2d490
doc: mention coc explorer
...
related: #2235
2020-09-15 14:14:21 +02:00
Christian Brabandt
af556115de
Merge pull request #2235 from andys8/patch-1
...
Support coc-explorer (file explorer extension)
2020-09-15 14:10:45 +02:00
Andy
98683125f6
Support coc-explorer (file explorer extension)
2020-09-15 13:44:05 +02:00
Nathan Lanza
27b52acee7
Only attempt to use dirvish if b:dirvish exists
...
This was causing persistent errors when you run, for example,
```
ls | nvim -c 'setf dirvish'
```
as dirvish will not yet have set that local variable yet airline will
attempt to use it.
2020-09-15 12:30:27 +02:00
Christian Brabandt
47c9205127
Merge pull request #2236 from chrisbra/fix_failing_test
...
fix failing test
2020-09-15 12:27:30 +02:00
Christian Brabandt
aed3523ee3
fix failing test
2020-09-15 12:22:41 +02:00
kazukazuinaina
30287992e2
[update] .gitignore
2020-09-15 18:18:07 +09:00
Christian Brabandt
f5693986c4
Merge pull request #2227 from kazukazuinaina/add_battery_extensions
...
[add] support for battery.vim
2020-09-09 09:03:30 +02:00
kazukazuinaina
2a69254d21
[add] support battery.vim
2020-09-08 01:26:24 +09:00
Christian Brabandt
51f599e2cf
Merge pull request #2223 from arafel/magit_dictionary
...
vim-magit: Can't use an empty dictionary key
2020-09-03 12:46:56 +02:00
Paul Walker
dd5a3c91a1
vim-magit: Can't use an empty dictionary key
2020-09-03 10:51:23 +01:00
IK
2daabc2cce
Merge pull request #2222 from kazukazuinaina/fix_nerdtree_setting_variables
...
[fix] document's typo about nerdtree_statusline
2020-09-03 17:34:31 +09:00
kazukazuinaina
7f91b54a44
[fix] document's typo about nerdtree_statusline
2020-09-03 17:20:52 +09:00
Christian Brabandt
c77d89046e
doc: fix typo for show_buffers variable
...
related: #2218
2020-08-27 13:07:32 +02:00
Christian Brabandt
0f5eedff74
mode: keep hi setting when switching from 'n' to 'ni'
...
when using `Ctrl-O` from insert mode, the highlighting currently updates
from insert mode highlighting to normal mode highlighting.
Unfortunately, changing the highlighting can be a bit expansive, so
redefining the highlighting just for one simple command does not make
too much sense.
Instead, keep the insert mode highlighting, because that's kind of like
the major mode Vim is in currently. The mode message uses '(INSERT)' to
distinguish between a "normal" INSERT mode and this temporary INSERT
mode, so it should still be visually be distinguishable.
closes #2217
2020-08-26 22:46:05 +02:00
huanhuan_zhuang
5d3cfa4045
add 'g:airline#extensions#tabline#tabtitle_formatter' option
...
The option can be used to specify a customized format() function to display tab title in tab mode
2020-08-25 13:42:18 +02:00
Christian Brabandt
3a55368320
searchcount: Ignore errors from searchcount() function
...
If the search regex causes an error, an ugly error message is thrown,
so ignore errors in that case silently.
closes #2216
2020-08-25 13:36:03 +02:00
IK
ef4666bd86
Merge pull request #2210 from kr5hn4/patch-1
...
Update README.md
2020-08-21 03:38:30 +09:00
Krishna Biradar
a738664dcc
Update README.md
...
Fix typo
2020-08-20 22:43:42 +05:30
Christian Brabandt
02c529efe4
Merge pull request #2205 from eevan78/master
...
Several fixes and improvements
2020-08-20 09:33:53 +02:00
eevan78
c1134da741
Fix po.vim
...
There is an extra '] ' in case when a display_limit is set. Also change messages == '0T' to messages ==# '0T'
2020-08-19 11:00:39 +04:00
IK
f84683a8c2
Merge pull request #2204 from kazukazuinaina/fix_vista_statusline
...
[adjust] vista's extension width
2020-08-18 15:44:32 +09:00
eevan78
ad80550252
Initial Windows support for msgfmt
...
For now, it is tested successfully on the latest Vim 8.2 running on Windows 10.
Needs further change and testing for Neovim and older Vim versions.
2020-08-15 02:52:48 +04:00
eevan78
c78c1fb870
Make keymap extension follow the iminsert option
...
This small change makes keymap extension sensitive to <CTRL-^> in Insert mode.
2020-08-15 02:43:58 +04:00
eevan78
5770e8befd
Small improvements of po extension
...
• Fixed shortening of message. It was not showing more than one digit for fuzzy and untranslated strings.
• Fixed case when starting translation (0 translated), and accomodated for some bigger po catalogs (more than 1000 strings)
• Add support for Windows (I use it on Windows, it works fine with latest Vim. Didn't test Neovim or older Vim versions, though)
• Add one extra space character to the right of the output string
2020-08-15 02:39:25 +04:00
kazukazuinaina
0cebac6bb0
[adjust] vista's extension width
2020-08-15 00:17:01 +09:00
IK
19d1990f86
Merge pull request #2202 from kazukazuinaina/fix_reading_time_doc
...
[fix] readingtime formatter's doc
2020-08-13 01:56:38 +09:00
kazukazuinaina
8e0d5cd95d
[fix] readingtime formatter's doc
2020-08-13 01:52:50 +09:00
IK
f4aaa7c76f
Merge pull request #2201 from kazukazuinaina/add_readingtime_doc
...
[add] readingtime formatter's document
2020-08-13 00:55:58 +09:00
kazukazuinaina
12f1934d38
[add] readingtime formatter's document
2020-08-13 00:23:51 +09:00
Christian Brabandt
6a1c2a74e9
Merge pull request #2125 from shaine/master
...
Use disabled style for inactive tabs
2020-08-12 15:43:05 +02:00
Christian Brabandt
a294f0cb7e
Merge pull request #2183 from tooSadman/nvim-lsp-support
...
Added support for built-in nvim-lsp
2020-08-12 15:41:47 +02:00
Christian Brabandt
8037c373d0
Merge pull request #2195 from kazukazuinaina/add_wordcount_formatter_readingtime
...
[add] wordcount's reading time formatter
2020-08-12 15:40:26 +02:00
Christian Brabandt
21e47ca5b3
Disable whitespace checking for csv files
...
In addition, add a time limit of 500 ms for detecting the indent
fixes : #2200
2020-08-12 15:38:26 +02:00
kazukazuinaina
f26a01cd02
[add] wordcount's reading time formatter
2020-08-07 00:05:38 +09:00
IK
16935cc666
Merge pull request #2194 from kazukazuinaina/add_new_test
...
[add] new vim version's test
2020-08-06 18:47:28 +09:00
kazukazuinaina
8cd824b4ac
[add] new vim version's test
2020-08-06 18:42:06 +09:00
IK
16f88fe363
Merge pull request #2193 from kazukazuinaina/add_short_path_doc
...
[add] short_path's doc in airline
2020-08-06 01:05:04 +09:00
kazukazuinaina
0e2cc23d49
[add] short_path's doc in airline
2020-08-05 14:15:14 +09:00
tooSadman
782774c0dc
Added support for built-in nvim-lsp
2020-08-03 18:19:26 +03:00
Christian Brabandt
ffa44b8327
Merge pull request #2188 from kazukazuinaina/fix_searchcount_extension
...
[fixup] Release the search restriction and remove unnecessary functions
2020-08-03 15:20:49 +02:00
Christian Brabandt
e4077b1725
Merge pull request #2185 from dcousens/patch-1
...
Fix spelling typo in comment
2020-08-03 14:44:58 +02:00
Christian Brabandt
a836e09e91
Merge pull request #2187 from kazukazuinaina/add_section_c_short_path
...
[add] short_path formatter in section_c
2020-08-03 12:21:44 +02:00
kazukazuinaina
1ca2428f51
[fixup] Release the search restriction and remove unnecessary functions
2020-07-28 16:29:42 +09:00
IK
2a027e992d
Merge pull request #2186 from kazukazuinaina/fix_searchcount_extension
...
[fix] searchcount's extension
2020-07-28 11:14:33 +09:00
kazukazuinaina
7ff5fdc349
fix CI
2020-07-23 16:11:19 +09:00
kazukazuinaina
b322ee6728
[add] short_path formatter in section_c
...
[update] test
2020-07-23 15:58:21 +09:00
kazukazuinaina
19fdf61efe
[fix] CI's error
2020-07-21 14:41:15 +09:00
kazukazuinaina
13a92b1474
[fix] searchcount's extension
2020-07-21 14:08:21 +09:00
Daniel Cousens
7bb3ec24ba
Fix spelling typo in comment
2020-07-20 21:41:59 +10:00
Christian Brabandt
7fc51f6952
Merge pull request #2181 from cdelledonne/master
...
Add support for cdelledonne/vim-cmake
2020-07-17 19:36:00 +02:00
Carlo Delle Donne
72a19ed9ed
Add support for cdelledonne/vim-cmake
2020-07-17 15:14:40 +02:00
Christian Brabandt
b6d6485a90
Merge pull request #2176 from konafx/master
...
Add fern.vim support
2020-07-14 16:10:21 +02:00
konafx
a7716dec4d
Add extension for fern.vim
2020-07-14 22:54:55 +09:00
Christian Brabandt
f655add4e9
hunks: do not add trailing whitespace when branch extension is disabled
...
fixes #2177
2020-07-14 14:03:17 +02:00
Christian Brabandt
767107070e
Merge pull request #2175 from skeept/patch-1
...
don't rely on NR for checking that NrrRgn is loaded
2020-07-14 11:36:33 +02:00
skeept
c4ee72f2d9
don't rely on NR for checking that NrrRgn is loaded
...
This fixes issue when using Plug to conditionally loading NrrRgn:
Plug 'chrisbra/NrrwRgn', {'on': ['NR', 'NW', 'NRV', 'NW', 'NarrowRegion']}
The command will exist but the plugin has not been loaded yet which gives a warning message.
2020-07-09 11:16:23 -05:00
Christian Brabandt
768bd0f5c6
Merge pull request #2158 from larrybradley/fix-venv
...
Fix handling of virtualenv and poetv plugins
2020-07-09 08:42:32 +02:00
Christian Brabandt
08bab60614
Merge pull request #2174 from nomasprime/dynamically_resize_section_z
...
Dynamically resize section Z
2020-07-09 08:41:45 +02:00
Rick Jones
46c35b80a1
Make appending airline_right_alt_sep conditional on it not being empty (wordcount)
...
Was appending a redundant space when airline_right_alt_sep was empty.
2020-07-08 23:46:00 +01:00
Rick Jones
ee4afdeedb
Dynamically resize section Z
...
Resolves : #2168
2020-07-08 23:46:00 +01:00
IK
2fec415a5d
Merge pull request #2165 from kazukazuinaina/add_searchcount_document
...
[add] searchcount's document
2020-07-08 18:12:23 +09:00
kazukazuinaina
416897c73d
[add] searchcount's document
2020-07-08 18:09:05 +09:00
Christian Brabandt
0a0d61af6c
fzf: do not check for loaded fzf
...
closes #2163
2020-07-08 08:47:59 +02:00
Christian Brabandt
48d49075ec
Merge pull request #2171 from nickspoons/omnisharp-extension
...
Add OmniSharp extension to display server status
2020-07-08 08:39:02 +02:00
nickspoons
fab4a02838
Add OmniSharp extension to display server status
2020-07-08 16:32:07 +12:00
Christian Brabandt
b843321428
Merge pull request #2166 from fvictorio/patch-1
...
Fix link to localsearch repo
2020-07-05 11:26:07 +02:00
Franco Victorio
7cd12641c7
Fix link to localsearch repo
2020-07-04 17:42:23 -03:00
Christian Brabandt
ba9b3e1839
Merge pull request #2161 from kazukazuinaina/add_support_searchcount
...
[RFC] Add support for searchcount extension
2020-06-29 09:25:56 +02:00
Christian Brabandt
cb03578a7c
Merge pull request #2164 from Freed-Wu/master
...
Fix bug of keyboard_layout
2020-06-29 09:24:48 +02:00
wzy
b96e02c649
Fix bug of keyboard_layout
...
when `keyboard_layout==''`, `let keyboard_layout = split(keyboard_layout, '\.')[-1]` will return an error.
2020-06-29 13:44:13 +08:00
kazukazuinaina
2d9e88794d
delete redrawstatus
...
This is unnecessary. Removing it will still work properly and improve performance.
2020-06-28 06:37:29 +09:00
kazukazuinaina
2c45d3c1aa
[add] support fot searchcount extension
2020-06-28 05:57:55 +09:00
IK
d0aaa061c2
Merge pull request #2157 from kazukazuinaina/add_terminalMode_color_palette
...
[add] terminal mode's color palette
2020-06-26 17:55:02 +09:00
kazukazuinaina
476bba726c
[add] terminal mode's color palette
...
Neovim returns a has('terminal') of 0.
Therefore, this conditional branch is not needed.
2020-06-25 00:33:27 +09:00
Christian Brabandt
8be6a2ecd5
Merge pull request #2156 from kazukazuinaina/add_fzf_extension_doc
...
[add] fzf integration's document
2020-06-22 08:41:50 +02:00
Christian Brabandt
bc8fdfe946
terminal: correctly shorten terminal tabline
...
If there is a single terminal window in the current tabpage, the whole
long command will be displayed in the tabline, even when it should be
shortened by default.
By default the title will not be shown if there are several windows in
the current tabpage, but if there is only one single terminal window, it
will still be shown (and might be a bit long). But I guess, it is better
to just show a possible too long terminal window name, than not show
anything).
fixes #2126
2020-06-21 22:31:43 +02:00
kazukazuinaina
bcabad32cf
[add] fzf integration's document
2020-06-20 07:43:19 +09:00
Larry Bradley
e352adda69
Fix handling of virtualenv and poetv plugins
2020-06-19 11:07:06 -04:00
Christian Brabandt
5ce3e63658
Merge pull request #2146 from noisysocks/master
...
Support fzf and fzf.vim
2020-06-19 11:45:34 +02:00
Christian Brabandt
e58c4a493c
Merge pull request #2155 from kazukazuinaina/update_license_year
...
[update] wordcount's formatter's license year
2020-06-19 09:49:35 +02:00
kazukazuinaina
cc6d3a7df1
[update] wordcount's formatter's license year
2020-06-19 03:28:21 +09:00
Robert Anderson
88894aa0ad
Support fzf and fzf.vim
...
Adds a slightly nicer statusline for the terminal buffers created by the
fzf and fzf.vim plugins.
https://github.com/junegunn/fzf
https://github.com/junegunn/fzf.vim
2020-06-13 10:31:29 +10:00
IK
ee85ed4c67
Merge pull request #2150 from kazukazuinaina/update_licence_year_extension
...
[update] license's year in airline's extension
2020-06-11 19:02:01 +09:00
kazukazuinaina
fab1ee3117
[update] license's year in airline's extension
2020-06-11 05:26:04 +09:00
Christian Brabandt
90f7210413
Merge pull request #2149 from nomasprime/add_update_highlights_docs
...
Add update highlights docs
2020-06-09 18:37:14 +02:00
Rick Jones
8177d63e07
Add update highlights docs
...
Resolves : #1404
2020-06-06 16:13:02 +01:00
IK
d221dc5312
Merge pull request #2143 from PratikBhusal/master
...
vim-dirvish: Fixed bugs, added include guards and documentation
2020-05-31 09:15:55 +09:00
PratikBhusal
de76234a0e
vim-dirvish: Fixed bugs and added better include guards
...
Fixes issue #2142 .
These changes primarily focused on making the include guards more robust
and simplify how the path for w:airline_section_c was generated.
Credits goes to @kazukazuinaina for improving on my original
implementation.
2020-05-30 00:25:56 -05:00
Christian Brabandt
0de31196b6
Merge pull request #2139 from PratikBhusal/master
...
Add vim-dirvish support
2020-05-29 23:12:46 +02:00
Christian Brabandt
6ddda74126
Merge pull request #2141 from kazukazuinaina/add_extension_unite_denite
...
[add] unite and denite's config
2020-05-29 23:11:50 +02:00
Christian Brabandt
64c0374423
Merge pull request #2138 from kazukazuinaina/update_CONTRIBUTING.md
...
[update] CONTRIBUTING.md
2020-05-29 23:11:07 +02:00
kazukazuinaina
b929452f32
[add] unite and denite's config
...
[add] document
2020-05-29 18:20:01 +09:00
Christian Brabandt
c744fb81b6
Merge pull request #2140 from xerus2000/patch-1
...
Update README.md
2020-05-27 11:50:16 +02:00
Janek
ba2c1b4e25
Update README.md
2020-05-27 10:45:28 +02:00
PratikBhusal
e0838c704a
Added vim-dirvish support
...
Matched VCS format of Netrw to only show branch name.
Filetype hidden as it is a duplicate on the left side.
File encoding hidden as it does not matter in dirvish buffer.
Removed unnecessary current column information
2020-05-25 19:34:52 -05:00
kazukazuinaina
d232ec08b9
[update] CONTRIBUTING.md
2020-05-24 08:09:20 +09:00
IK
3fa0e0ce0c
Merge pull request #2131 from kazukazuinaina/update-changelog
...
[update] CHANGELOG.md
2020-05-23 05:09:11 +09:00
IK
e23978fb68
Merge pull request #2137 from kazukazuinaina/refactoring_vimagit
...
[refactor] vimagit's extension
2020-05-22 23:21:46 +09:00
kazukazuinaina
a133605d01
[refactor] vimagit's extension
2020-05-21 15:19:25 +09:00
IK
f244ff9987
Merge pull request #2136 from kazukazuinaina/fix_endif
...
fix missing endif
2020-05-21 03:13:53 +09:00
kazukazuinaina
68024ec33d
fix missing endif
2020-05-21 01:26:33 +09:00
kazukazuinaina
1e6f5c7705
[update] CHANGELOG.md
2020-05-07 00:44:11 +09:00
Christian Brabandt
aa46603214
Merge pull request #2128 from jolan78/master
...
fix for #2127
2020-05-04 14:19:44 +02:00
Christian Brabandt
ffdf52e38d
Merge pull request #2129 from kazukazuinaina/fix_check_ycm_extension
...
abopt get() function
2020-05-04 14:19:14 +02:00
kazukazuinaina
1f1a71ae2b
abopt get() function
2020-05-04 17:53:13 +09:00
jolan78
3b46a4d9a3
fix for #2127
2020-05-04 10:07:39 +02:00
Christian Brabandt
915c7cfcd7
Fix brocken CI test
...
because vim 7.4 does not know v:vim_did_enter
I am beginning to wonder, whether we should have vim8 as a minimal
requirement...
2020-05-04 08:10:33 +02:00
Christian Brabandt
0ac474fdc4
plugin: load vim-airline as optional package
...
allow to load vim-airline as opt package
Fixes: 2122
2020-05-04 07:48:13 +02:00
Shaine Hatch
62e7fc6ab1
Use disabled style for inactive tabs
2020-04-30 12:13:55 -06:00
Christian Brabandt
96d37d2fbe
hunks: fix missing line continue character
2020-04-29 17:17:58 +02:00
Christian Brabandt
48064e24d5
hunks: only enable coc-git extension, if explicitly enabled by the user
...
As requested by the coc maintainer, this is explicitly disabled, unless
the user configures vim-airline to use it for the branch extension. This
is done, because the `CocAction('extensionStats')` function is known to
be slow and this may cause a slow startup.
2020-04-29 16:59:37 +02:00
Christian Brabandt
e7f78bbc0f
Merge pull request #2124 from kazukazuinaina/add_vaffle_path
...
[add] vaffle's path section
2020-04-29 15:08:33 +02:00
kazukazuinaina
ad3132da33
[add] vaffle's path section
2020-04-29 21:37:36 +09:00
Christian Brabandt
ff3f66ed30
Merge pull request #2121 from kazukazuinaina/add_branch_setting_in_doc
...
[add] branch symbol's Explanation
2020-04-24 17:27:29 +02:00
kazukazuinaina
d2513b8460
[add] branch symbol's Explanation
...
[fix] document's position
2020-04-24 20:13:41 +09:00
Christian Brabandt
eff4828b37
README: fix saythanks link
...
unfortunately, saythanks broke and since it has been restored, the links
changed. So fix it here again.
2020-04-20 08:11:35 +02:00
Christian Brabandt
f00a9e6e7a
Merge pull request #2119 from kazukazuinaina/update_coc_status_width
...
[adjust] coc_status's width
2020-04-20 07:57:16 +02:00
Christian Brabandt
76c1998753
extensions: prevent error about unknown function for ycm
...
if g:loaded_youcompleteme does not exists, the ycm extension will not be
loaded. However extensions.vim could still try to init the ycm
extension, which would lead to an error message:
E117: unknown function airline#extensions#ycm#init
so make sure, it is only loaded, if ycm is loaded as well.
2020-04-20 07:54:00 +02:00
kazukazuinaina
379e0f5bc2
[adjust] coc_status's width
2020-04-18 17:48:26 +09:00
Christian Brabandt
2eb95b2e09
Merge pull request #2118 from kazukazuinaina/add_hunks_readme
...
[add] coc-git section in README
2020-04-17 12:22:06 +02:00
kazukazuinaina
cce6b55a27
[add] coc-git section in README
2020-04-17 16:57:54 +09:00
Christian Brabandt
c8fe296c52
Merge pull request #2117 from kazukazuinaina/update_ycm_extension
...
[add] ycm's toggle and doc
2020-04-17 09:40:05 +02:00
Christian Brabandt
0074044413
Merge pull request #2116 from kazukazuinaina/add_cursormode_toggle
...
[add] cursormode's toggle
2020-04-17 09:38:51 +02:00
kazukazuinaina
15a1a3ccc7
[add] ycm's toggle and doc
2020-04-15 12:08:09 +09:00
kazukazuinaina
37273299f7
[add] cursormode's toggle
2020-04-15 11:45:45 +09:00
Christian Brabandt
7c31850381
wordcount: only test against complete filetypes
...
Put a word-boundary regex atom before and after the current filetype, to
make sure that a `C` filetype won't be detected as a filetype that
enables the wordcount extension. (`c` matches asciidoc).
2020-04-14 19:53:18 +02:00
Christian Brabandt
12aa326dae
Merge pull request #2113 from kazukazuinaina/add_zoomwintab_doc
...
[add] zoomwintab's document
2020-04-14 13:53:00 +02:00
kazukazuinaina
9840b26fa4
[add] zoomwintab's document
...
[fix] mistake plugin name
[add] zoomwintab's variable's config
2020-04-14 20:41:44 +09:00
Christian Brabandt
a100e89671
Merge pull request #2111 from troydm/master
...
zoomwintab extension added
2020-04-10 14:21:16 +02:00
troydm
487d21e7ff
zoomwintab extension vint fix
2020-04-07 21:50:23 +03:00
troydm
5902a23e78
zoomwintab extension added
2020-04-07 21:33:28 +03:00
Christian Brabandt
87d4648172
Merge pull request #2108 from kazukazuinaina/add_coc_status_test
...
[add] some coc's test
2020-04-03 08:09:29 +02:00
kazukazuinaina
acd7e82d2b
[add] some coc's test
2020-04-03 12:15:42 +09:00
Christian Brabandt
23374c491c
Merge pull request #2106 from kazukazuinaina/add_vista_test
...
[add] vista's test
2020-04-02 18:04:11 +02:00
kazukazuinaina
576710f7a5
[add] vista's test
2020-04-03 01:00:55 +09:00
Christian Brabandt
adf2afae7c
hunks: still some problems with coc-git integration
...
Fix remaining problems, test correctly for enabled coc-git plugin.
2020-04-01 10:49:00 +02:00
Christian Brabandt
29eec37c66
tabline: fix typo
...
related: #2103
2020-03-30 08:27:20 +02:00
Christian Brabandt
74ca43a9b6
[hunks] also cache coc git status
2020-03-29 19:37:44 +02:00
Christian Brabandt
5a490dd9ac
hunks: remove test for empty branch for changes plugin
...
Because changes plugin does not rely on git
Also remove the test of the local variable for the changes plugin
whether it is enabled or not, this is taken care of in the changes
plugin
2020-03-29 19:37:44 +02:00
Christian Brabandt
c70f3da583
Merge pull request #2103 from kazukazuinaina/always_show_tab_count
...
[add] new option / always show tab count feature
2020-03-29 18:50:14 +02:00
kazukazuinaina
185bcc5e88
[add] new option / always show tab count feature
2020-03-30 01:06:06 +09:00
Christian Brabandt
c05fff8504
hunks: add abort keyword to function definitions
2020-03-29 17:30:29 +02:00
Christian Brabandt
a13bed2f51
hunks: integrate coc-git extension
...
The coc-git extension to coc does show similar statistics as e.g.
gitgutter, therefore, integrate the coc-git interface into the hunk
extension.
closes #2094
2020-03-29 17:30:29 +02:00
Christian Brabandt
02a0ab4b59
Merge pull request #2102 from kazukazuinaina/fix_coc_test
...
fix coc extension's unit test
2020-03-29 16:42:21 +02:00
kazukazuinaina
5b994f77b1
fix coc's unit test
2020-03-29 23:13:13 +09:00
Christian Brabandt
2f2003be52
Merge pull request #2098 from kazukazuinaina/add_check_vista_toggle
...
[add] check vista's toggle
2020-03-29 16:04:35 +02:00
Christian Brabandt
8a7172e1c2
Merge pull request #2099 from kazukazuinaina/fix_denite_extension
...
[fix] operator and [add] abort in autoload function
2020-03-29 16:04:08 +02:00
Christian Brabandt
99c2dfd569
coc: use bold accent for g:coc_status
...
fixes #2101
2020-03-29 16:03:00 +02:00
kazukazuinaina
f8a3afa4a1
[fix] operator and [add] abort in autoload function
2020-03-29 00:45:32 +09:00
kazukazuinaina
e671a68b48
[add] check vista's toggle
2020-03-28 18:15:29 +09:00
Christian Brabandt
0278e9095d
Merge pull request #2093 from kazukazuinaina/add_wordcount_filetype
...
add plaintex filetype
2020-03-23 11:39:20 +01:00
kazukazuinaina
16223d0bc3
add plaintex filetype
...
re-order and update document
2020-03-20 22:41:50 +09:00
Christian Brabandt
119477060d
Merge pull request #2090 from Freed-Wu/master
...
Add g:airline#extensions#capslock#sign
2020-03-20 14:13:56 +01:00
Christian Brabandt
352e6dd19d
Merge pull request #2089 from kazukazuinaina/add_gina_copyright
...
[add] gina.vim's url
2020-03-20 14:13:09 +01:00
Christian Brabandt
b36542d509
Merge pull request #2092 from kazukazuinaina/fix_github_actions_url
...
[fix] github_actions's url
2020-03-20 14:12:49 +01:00
Freed-Wu
254d1a2d8d
Add g:airline#extensions#capslock#symbol
...
Add help
Add linebreak and default
2020-03-20 11:02:34 +08:00
kazukazuinaina
dd72442fee
[fix] github_actions's url
2020-03-18 02:52:17 +09:00
kazukazuinaina
b2cd5baa24
[add] gina.vim's url
2020-03-15 20:05:22 +09:00
Christian Brabandt
4e2546a209
Changelog: Mention coc.nvim improved integration from #2079
2020-03-02 13:18:28 +01:00
ckipp01
fe94d52c4c
coc: add in coc_status to coc.nvim integration
...
Allow to show additional messages from coc.nvim in section_c
For ease of use, shorten the message for windows smaller than 81
characters.
closes #2079
2020-03-02 13:16:37 +01:00
Christian Brabandt
fdafa44b2f
Merge pull request #2068 from fx-carton/master
...
Add support for vim-lsp
2020-03-02 13:05:19 +01:00
Christian Brabandt
418fb24982
Merge pull request #2083 from kazukazuinaina/add_check_ale_extension_toggle
...
[add] check ale's toggle
2020-03-02 13:04:25 +01:00
Serge Y. Stroobandt
3b339fee98
wordcount: Word count for the combined file types
...
[Pandoc flavoured Markdown](https://en.wikipedia.org/wiki/Markdown#CommonMark ) has its [own file type in `vim`](https://github.com/vim-pandoc/vim-pandoc-syntax#standalone ), namely `markdown.pandoc`.
Word count by default in `vim-airline` obviously would make a lot of sense for this popular file type.
Fix this, by making sure that the wordcount extensions will apply
correctly if any of the combined filetypes (e.g. either pandoc or
markdwon) matches the list of allowed filetypes.
2020-03-02 13:03:21 +01:00
François-Xavier Carton
0860036454
Add support for vim-lsp
2020-03-01 00:41:33 +01:00
kazukazuinaina
9e3a0626bf
[add] check ale's toggle
2020-02-29 01:31:39 +09:00
Christian Brabandt
71a7e23f32
Merge pull request #2081 from kazukazuinaina/fix/scope
...
[fix] count variable's scope
2020-02-28 09:19:09 +01:00
kazukazuinaina
6115527e7e
[fix] conut variable's scope
2020-02-28 17:14:45 +09:00
Christian Brabandt
774cd8b08f
term: better formatting of neovim terminal
...
closes #2074
2020-02-27 13:37:50 +01:00
Christian Brabandt
bc19a18b3c
Merge pull request #2070 from idbrii/focuslost_inactive_focusgained_ignore
...
Ignore FocusGained events for the current second
2020-02-27 13:17:27 +01:00
Christian Brabandt
256eb1b5a1
Merge pull request #2077 from kazukazuinaina/update/changelog
...
Changelog / add unit test section
2020-02-27 13:09:15 +01:00
kazukazuinaina
7e042e7b70
Changelog / add unit test section
2020-02-27 11:15:25 +09:00
David Briscoe
c2ff76829f
Ignore FocusGained events for the current second
...
Fix #2062 : restore g:airline_focuslost_inactive behaviour.
Only ignore focusgained events on Windows. If there are more problematic
platforms, we'll add them later.
Instead of ignoring the next x FocusGained events whenever we do call
system(), ignore them for the current second. That allows us to put a
hard limit on the duration of the ignore.
This seems like a much better solution than the previous one because it
also prevents ignore events from building up (s:focusgained_ignored was
often greater than 5).
Test (gvim 8.2.140 on Win10)
gvim.exe ~/.vim/bundle/airline/autoload/airline/extensions/branch.vim
:Gedit HEAD
check several parents and no regression of looping behaviour from #2053 .
:let g:airline_focuslost_inactive = 1
:split
alt-tab several times and statusline is correctly dimmed and restored
each time.
2020-02-21 09:21:47 -08:00
Christian Brabandt
0b26834648
Merge pull request #2069 from kazukazuinaina/gina_refactoring
...
[update] gina's extensions
2020-02-21 09:07:35 +01:00
Christian Brabandt
d7692e1fe5
Merge pull request #2067 from JacksonBailey/improve-readme
...
Specify the full helptags command
2020-02-21 09:06:15 +01:00
Jackson Bailey
9bbeb75dd8
Specify the full helptags command
2020-02-20 13:34:29 -05:00
kazukazuinaina
fc09bf751a
[update] gina's extensions in extensions dir
...
fix typo and add section_b
[add] extension gina
[add] unstaged extensions
[fix] typo
[Done] gina refactoring
[fix] document
[fix] gina's spell
[add] abort
2020-02-17 22:43:07 +09:00
Christian Brabandt
7e00ee1107
Merge pull request #2066 from kazukazuinaina/update_reviewdog_yml
...
[update] reviewdog.yml
2020-02-17 13:59:25 +01:00
Christian Brabandt
3fdfdc9963
Merge pull request #2059 from languitar/patch-1
...
Always obey the poetv#enabled setting
2020-02-17 13:58:31 +01:00
kazukazuinaina
7cc49c9386
[update] reviewdog.yml
2020-02-07 20:14:47 +09:00
Christian Brabandt
099dd92eeb
Merge pull request #2065 from kazukazuinaina/fix_github_actions_url
...
[fix] github action's url in README
2020-02-07 09:14:19 +01:00
kazukazuinaina
0654fec1be
[fix] github action's url in README
2020-02-07 17:10:15 +09:00
Christian Brabandt
985d15613e
Merge pull request #2063 from kazukazuinaina/add_github_actions
...
[add] github actions
2020-02-07 08:39:54 +01:00
Christian Brabandt
73502997ff
Merge branch 'master' into add_github_actions
2020-02-07 08:39:41 +01:00
Christian Brabandt
3481cebe22
Merge pull request #2064 from kazukazuinaina/update_travis_badge
...
[update]travis-ci's badge
2020-02-07 08:36:24 +01:00
kazukazuinaina
a6a3eab8d9
[add] github actions
...
[add] github actions's batch in README
[update] yml
2020-02-07 05:14:16 +09:00
kazukazuinaina
5e470bcf0b
[update]travis-ci's badge
2020-02-07 04:59:37 +09:00
Johannes Wienke
5c1f3b426b
Always obey the poetv#enabled setting
...
Do not silently enable an extension even though the `enabled` setting is false.
This would resolve #2058
2020-02-01 22:01:00 +01:00
Christian Brabandt
f659a98d50
completion: only return random theme, when it actually matches
2020-01-30 13:42:21 +01:00
Christian Brabandt
e22f735f80
Merge pull request #2055 from kazukazuinaina/fix_typo_in_doc
...
[fix] typo in doc
2020-01-29 08:14:17 +01:00
Christian Brabandt
abf54b60a4
Merge pull request #2053 from idbrii/fix-focusgained
...
branch: ignore upcoming FocusGained when updating
2020-01-29 08:13:53 +01:00
kazukazuinaina
24900181f4
[fix] typo in doc
2020-01-29 12:17:39 +09:00
David Briscoe
dd247a0f85
branch: ignore upcoming FocusGained when updating
...
closes #2029
airline#util#focusgain(1) was called too soon -- it's called before vim
loses focus and not after it gains focus. Instead, we ignore the next
FocusGained event.
2020-01-28 12:01:09 -08:00
Christian Brabandt
8fbb16f838
async: correctly use &shell and &shellcmdflag
...
instead of hardcoding to use 'sh' and '-c'
2020-01-28 16:04:53 +01:00
Christian Brabandt
a201689e38
async: correctly redirect error on powershell
2020-01-28 16:01:52 +01:00
Christian Brabandt
2e9d36e220
async: problem with powershell
...
also check for the powershell on windows.
closes #2050
2020-01-28 16:00:02 +01:00
Christian Brabandt
c3cda92272
Merge pull request #2049 from kazukazuinaina/fix_echo_extension_load
...
Fix echo extension load
2020-01-28 15:58:00 +01:00
Christian Brabandt
eb916c0c57
Merge pull request #2051 from kazukazuinaina/fix_nerdtree_url_in_doc
...
[fix] nerdtree's url in doc and README.md
2020-01-28 15:56:13 +01:00
Christian Brabandt
f4795532c6
branch: disable FocusGained handler when updating fugitive information
...
closes #2029
2020-01-28 15:54:53 +01:00
kazukazuinaina
52175cec3d
[fix] nerdtree's url
...
[fix] nerdtree's url in README
2020-01-28 17:40:25 +09:00
kazukazuinaina
70c91d70c5
[fix] can display loaded extension in g:airline_extensions
...
[fix] continue check
2020-01-27 07:11:24 +09:00
Christian Brabandt
d4502d02a1
Merge pull request #2046 from dlukes/master
...
Deduplicate virtualenv identifier sections
2020-01-24 12:48:20 +01:00
David Lukes
ce45960049
Suggest fix for #2045
2020-01-24 12:46:07 +01:00
Christian Brabandt
1240403ce5
highlighter: fix obvious spelling error
2020-01-20 12:32:06 +01:00
Christian Brabandt
a676af7c8a
highlighter: check for accents key
...
This is actually a work around for a broken installation. the dict p
should always contain the accents key (see `airline#themes#patch()`
function, that adds missing accents). So even if the theme does not
define the accents key, it should always exist.
However, an error while evaluating the statusline is extremely annoying,
so add some safeguards here and skip the following for loop.
related #2043
2020-01-20 12:28:04 +01:00
Christian Brabandt
62976a21b0
Merge pull request #2044 from kazukazuinaina/update_license_in_doc
...
update license year in doc/airline.txt
2020-01-20 08:24:51 +01:00
kazukazuinaina
4a4be9cd99
update license year in doc/airline.txt
2020-01-16 11:22:19 +09:00
Christian Brabandt
8d694cba9c
Merge pull request #2042 from kazukazuinaina/fix_issue_2041
...
update &preview in extensions.vim
2020-01-13 11:37:02 +01:00
kazukazuinaina
f0317f6dd4
update preview in extensions.vim
2020-01-12 01:27:24 +09:00
Christian Brabandt
c1de3d3370
Merge pull request #2040 from kazukazuinaina/update_license_year_
...
update license's year in vim-airline
2020-01-06 10:18:28 +01:00
kazukazuinaina
cf6dcf5e19
update license's year in vim-airline
2020-01-06 11:22:49 +09:00
Christian Brabandt
66f77d4a77
Merge pull request #2038 from kazukazuinaina/update_changelog
...
add poetv in CHANGELOG.md
2020-01-03 08:33:37 +01:00
kazukazuinaina
07e16116fd
add poetv in CHANGELOG.md
2020-01-03 15:06:38 +09:00
Christian Brabandt
0755196c4d
Merge pull request #2035 from petobens/poetv
...
Add poetv extension
2019-12-30 21:38:47 +01:00
Christian Brabandt
3d0f51152a
Merge pull request #2034 from kazukazuinaina/update_ci
...
update .travis.yml
2019-12-30 21:37:58 +01:00
kazukazuinaina
48917f34a3
update .travis.yml
...
test
update
aaa
update
update ci
fix commit
update vim
update
update .travis.yml
update travis.yml
update
update
update .travis.yml
fix syntax error
update Gem
update path
delete bundle install
add license
2019-12-31 02:31:15 +09:00
petobens
98f03df8e5
Add poetv extension
2019-12-30 10:37:03 -03:00
Christian Brabandt
d199186df0
Merge pull request #2033 from jonathf/index_from_1
...
Adding option: `buffers#buffer_idx_mode = 3`
2019-12-27 16:31:31 +01:00
Jonathan Feinberg
892c9ad6b5
Adding option: buffers#buffer_idx_mode = 3
...
By using `buffer_idx_mode = 3`, indexing will start at 1, instead of 11.
2019-12-27 13:00:50 +01:00
Christian Brabandt
5a87ca631a
Merge pull request #2027 from midchildan/feat-buffer-disable
...
allow disabling airline per-buffer
2019-12-27 08:47:45 +01:00
Christian Brabandt
c6283b5185
Merge pull request #2026 from midchildan/fix-airline-inactive
...
fix missing check for w:airline_disable_statusline
2019-12-27 08:47:20 +01:00
Christian Brabandt
dee74777db
Merge pull request #2031 from kazukazuinaina/add_vaffle_extension
...
Add support for Vaffle
2019-12-27 08:27:27 +01:00
kazukazuinaina
61bcec3b57
add vaffle extension
2019-12-26 17:03:15 +09:00
midchildan
9779a7a340
allow disabling airline per-buffer
2019-12-22 21:26:59 +09:00
midchildan
bc0e2a3438
fix missing check for w:airline_disable_statusline
2019-12-22 20:06:35 +09:00
Christian Brabandt
b93492b40b
Merge pull request #2024 from kazukazuinaina/fix_untracked_branch_check
...
fix untrack branch check about gina
2019-12-19 11:44:50 +01:00
kazukazuinaina
be85daa23f
fix untrack branch check about gina
2019-12-19 15:43:50 +09:00
Christian Brabandt
3b6b2474a2
Merge pull request #2023 from kazukazuinaina/update_ISSUE_TEMPLETE
...
add screen shot section in ISSUE_TEMPLETE.md
2019-12-18 10:05:31 +01:00
kazukazuinaina
6f440ff679
add screen shot section
2019-12-18 16:46:54 +09:00
Christian Brabandt
98326670b6
Merge pull request #2022 from kazukazuinaina/can_choice_gina_statusline
...
can choice to use gina's extension
2019-12-17 19:19:42 +01:00
kazukazuinaina
44b1e3df5d
can choice to use gina's extension
...
fix typo
add v:version >= 800and remove v:version > 704
fix CI error
2019-12-18 00:44:47 +09:00
Christian Brabandt
929cf2e21f
Merge pull request #2021 from kazukazuinaina/add_try_catch_in_gina_branch
...
add try catch in gina.vim's extension in branch.vim
2019-12-15 16:19:51 +01:00
Christian Brabandt
aee2c7f91d
Merge pull request #2020 from kazukazuinaina/fix_typo_in_tabline_vim
...
fix typo in tabline.vim
2019-12-15 16:17:59 +01:00
Christian Brabandt
e142bbd1bf
Merge pull request #2017 from kazukazuinaina/update_changelog
...
update changelog
2019-12-15 16:17:31 +01:00
kazukazuinaina
d4e2bfe892
add try catch in gina.vim's extension in branch.vim
2019-12-15 23:08:31 +09:00
kazukazuinaina
60aaed01ae
fix typo in tabline.vim
2019-12-15 21:28:51 +09:00
kazukazuinaina
f1c48e9820
update changelog
2019-12-14 04:38:58 +09:00
Christian Brabandt
72286b27cc
Merge pull request #2016 from kazukazuinaina/add_gina_support_for_branch
...
add gina support for vim-airline's branch
2019-12-13 20:19:08 +01:00
kazukazuinaina
f8e1f85fde
add gina support for vim-airline's branch
...
add check gina in util.vim
fix typo
add gina check
fix typo
add gina.vim's url in doc
fix typo
delete v:version > 800
fix error
2019-12-14 04:10:46 +09:00
Christian Brabandt
9f00b402c5
plugin: save/restore cpo setting
...
This has been missing way too long. It should always be set to a sane
vim default, as documented (:h write-plugin). So add it as well.
2019-12-13 10:17:15 +01:00
Christian Brabandt
5f9ae83f44
config: allow to disable setting the statusline option
...
closes #2013
2019-12-13 09:59:45 +01:00
Christian Brabandt
e395afed51
vista: init extension on VimEnter
...
closes #2009
2019-12-13 08:56:26 +01:00
Christian Brabandt
30725e6eb2
Merge pull request #2010 from kazukazuinaina/add_gina_new_extension
...
add gina's some extensions
2019-12-13 08:45:36 +01:00
Christian Brabandt
9c3f84fc67
tabline: skip expansive BufAdd call on Session load
...
closes #2015
2019-12-13 08:44:15 +01:00
Christian Brabandt
758c83acbf
tabline: simplify autocommand condition
2019-12-12 09:58:21 +01:00
Christian Brabandt
58b9b3ec81
netrw: do not error out when g:netrw_sort_by is not defined
2019-12-11 23:36:15 +01:00
Christian Brabandt
6ef37e4b3e
Merge pull request #2012 from kazukazuinaina/update_vista_vim_url
...
update vista.vim's url in document
2019-12-10 16:15:49 +01:00
Christian Brabandt
c24f3c7c4d
whitespace: do not detect '=======' as conflict marker for rst files
...
closes #2014
2019-12-10 16:14:08 +01:00
kazukazuinaina
f472e1bafb
update vista.vim's url in document
2019-12-09 00:51:18 +09:00
kazukazuinaina
b1ca153b72
add gina's some extensions
...
add gina-ls
2019-12-06 17:26:08 +09:00
Christian Brabandt
2daef1bcb8
Merge pull request #2007 from kazukazuinaina/add_gina_branch
...
add :Gina branch command support
2019-12-02 10:10:05 +01:00
kazukazuinaina
806f071348
add :Gina branch command support
2019-12-02 11:54:38 +09:00
Christian Brabandt
ce932f3825
Revert "themes: drop simple colorscheme - theme mappings"
...
This reverts commit 47be64d7f2 .
closes #2006
2019-11-29 08:27:13 +01:00
Christian Brabandt
47be64d7f2
themes: drop simple colorscheme - theme mappings
...
vim-airline by default already tries to load theme names, that have the
same name as the colorscheme. Therefore, it does not make sense, to add
mappings that result in the same theme name.
So drop the base16, wombat, zenburn and solarized keys
2019-11-27 13:52:21 +01:00
Christian Brabandt
81fdc3b988
plugin: make use of rand() function from vim 8.1.2342
2019-11-25 17:13:33 +01:00
Christian Brabandt
19c655b420
plugin: do not trigger redraws for popup windows
...
coc.nvim might set the filetype of the poppup window, which might
trigger a redraw of the statusline, causing the current window to become
inactive.
So bail out early, if the current buffer is a popup buffer. It cannot
have a statusline anyhow.
fixes #1930 (but this time for Vim)
2019-11-25 16:24:58 +01:00
Christian Brabandt
b9eb941201
Merge pull request #2002 from kazukazuinaina/update_gitignore
...
add .DS_Store in .gitignore
2019-11-21 17:48:24 +01:00
kazukazuinaina
6bc040a3a5
add .DS_Store in .gitignore
2019-11-20 12:21:42 +09:00
Christian Brabandt
29549aa55a
Merge pull request #1997 from kazukazuinaina/fix_typo_NERDTree
...
substitute/NERDtree/NERDTree
2019-11-15 08:26:03 +01:00
kazukazuinaina
17ec87f503
substitute/NERDtree/NERDTree
2019-11-15 15:50:36 +09:00
Christian Brabandt
e3e2b1af44
Merge pull request #1996 from kazukazuinaina/update_NERDTree_statusline
...
update nerdtree's statusline
2019-11-13 22:33:01 +01:00
kazukazuinaina
8a3eeddc80
update nerdtree's statusline
...
add let g:airline#extensions#nerdtree_statusline's documentation
2019-11-11 21:11:36 +09:00
Christian Brabandt
e4e4ba3c7b
Changelog: fix link to github
2019-11-10 16:49:29 +01:00
Christian Brabandt
ad716f1df4
Changelog: Prepare for release 0.11
2019-11-08 20:19:06 +01:00
Christian Brabandt
664426be21
doc: mention all supported plugins
...
Also, in the extensions mention the required vim plugin
2019-11-08 20:18:04 +01:00
Christian Brabandt
5b9cbc1a57
ctrlspace: cleanup s:var usage
2019-11-08 19:58:22 +01:00
Christian Brabandt
a66f7ae13e
Merge pull request #1995 from kazukazuinaina/add_fugitive_statusline
...
add fugitive statusline
2019-11-10 08:45:25 +01:00
kazukazuinaina
073d760689
add fugitive statusline
2019-11-10 09:47:43 +09:00
Christian Brabandt
f2241b61b2
bufferline: get rid of static s: variable
2019-11-05 11:32:10 +01:00
Christian Brabandt
15c540dc94
doc: rewrap help doc to fit into a 80 column shell
...
needs to be reformated a bit, especially if the signcolumn is on, this
would have ugly wraps.
Also, the documentation at :h airline-default-sections mentions readonly
for the gutter part, which is wrong. So correct this (related #1994 )
2019-11-05 11:32:10 +01:00
Christian Brabandt
d17fcbf72f
Merge pull request #1990 from kazukazuinaina/update_airline.txt
...
update ale's url
2019-10-31 12:46:36 +01:00
kazukazuinaina
98b95e6399
update ale's url
2019-10-31 17:56:42 +09:00
Christian Brabandt
a0e9b383c6
tabline: add buffer number to unique_tail formmater
...
fixes #1987
2019-10-25 17:20:34 +02:00
kazukazuinaina
62ec219601
gina: Enable gina.vim, only for Vim > 7.4.1898
...
gina.vim needs the `<mods>` feature to work correctly. Therefore check
that Vim has at least patch 7.4.1898 included before using and accessing
the gina plugin.
fixes #1984
2019-10-24 12:57:33 +02:00
Christian Brabandt
6eda2735aa
Merge pull request #1986 from kazukazuinaina/add_update_statusline_check
...
add check to statusline's update
2019-10-24 09:38:01 +02:00
kazukazuinaina
0cba7d3ed6
add check to statusline's update
2019-10-24 16:19:58 +09:00
Christian Brabandt
3736132370
Merge pull request #1982 from kazukazuinaina/update_airline.txt
...
update airline.txt about airline-term
2019-10-23 13:07:13 +02:00
kazukazuinaina
390908dead
update airline.txt about airline-term
...
fix mistake
delete space
fix format
2019-10-17 17:58:00 +09:00
Christian Brabandt
6d665580a3
term: allow to disable the term extension
...
closes #1981
2019-10-16 18:07:35 +02:00
Christian Brabandt
297ca3d004
Merge pull request #1980 from kazukazuinaina/update_airline.txt
...
update airline.txt
2019-10-11 17:09:32 +02:00
kazukazuinaina
4f0d2ebbb5
update airline.txt airline-predefined-parts confusing
2019-10-04 16:55:32 +09:00
kazukazuinaina
62f2dc02f0
Add support for gina.vim
...
add gina-tag command
add help about gina.vim
update CHANGELOG.md
closes #1979
2019-10-02 15:17:26 +02:00
Christian Brabandt
92c0a90b64
Update Changelog
...
This documents some of the changes that happend since the release
[v0.10](https://github.com/vim-airline/vim-airline/releases/tag/v0.10 )
and is needed for the next release v0.11, planned around November 09th/10th
references #1975
2019-10-02 15:09:58 +02:00
Christian Brabandt
262fdc20d5
wordcount: use the short format for widths <= 85
...
Previously it used a width of >= 80 to display the long word count
format. However I personally found that a bit too wide, while other
sections will be shortened too much which does not really look nice.
Therefore, adjust the limit a bit, using the short word count format for
windows up to 85 characters.
2019-10-02 14:50:55 +02:00
Christian Brabandt
0b537b3065
Update the Changelog
2019-10-02 14:24:46 +02:00
Christian Brabandt
89d1d43165
Merge pull request #1966 from felleg/patch-1
...
Modified dark.vim commandline foreground color
2019-09-11 21:29:20 +02:00
Félix Léger
f4f9a8a241
Modified dark.vim commandline foreground color
...
The foreground color for `commandline` mode is the same as `normal` mode, which is easier to read against the green background
2019-09-11 15:25:52 -04:00
Christian Brabandt
63d8764f9d
po: do not shorten empty fuzzy/untranslated messages
2019-09-09 09:39:41 +02:00
Christian Brabandt
6409c7b317
tabline: do not display neovim terminal there
2019-08-26 15:16:38 +02:00
Christian Brabandt
22f54d8528
sort airline#extensions#tabline#ignore_bufadd_pat
2019-08-26 15:14:21 +02:00
Christian Brabandt
018688a90f
tabline: do not show defx buffers
...
fixes #1962
2019-08-26 15:11:50 +02:00
Christian Brabandt
d848de4918
branch: remove double '.' for string concatenation
...
fixes #1961
2019-08-22 07:56:51 +02:00
Christian Brabandt
57fb980df7
util: micro-optimization of existence check for vcscommand plugin
2019-08-20 22:30:20 +02:00
Christian Brabandt
5df9e23f14
util: micro-optimization of existence check for lawrencium
2019-08-20 22:28:49 +02:00
Christian Brabandt
0370a3b89b
util: micro-optimization of existence check for fugitive
2019-08-20 22:28:49 +02:00
Christian Brabandt
51e74f1d1f
util: micro-optimization of existence check for strcharpart()
2019-08-20 22:22:19 +02:00
Christian Brabandt
ccef93e887
util: micro-optimization of existence check for strchars()
2019-08-20 22:20:39 +02:00
Christian Brabandt
15322e41c7
util: Add comment header, declaring s:vars as constant
2019-08-20 22:19:48 +02:00
Christian Brabandt
486b68cb08
term: get rid of useless variable, add comment
2019-08-20 22:12:34 +02:00
Christian Brabandt
af96e9745f
wordcount: only try to access buffer content in the actual current buffer
...
closes #1955
(this actually needs Vim patch 8.1.1372 to work properly)
2019-08-20 14:28:54 +02:00
Kai Moschcau
3f82d3a975
Improve multibyte character handling in branch ext
...
This fixes a bug that causes a mangled statusline. The bug occurs, when
the `displayed_head_limit` variable is set and causes the substring
expression to take a substring, which ends in the middle of a multi-byte
character.
This patch replaces the byte-based methods for measuring the
length of the branch name and creating a substring with methods that are
character-based and multi-byte aware.
It also has the nice side effect of making the length measuring more
accurate, by taking the actual display width of multi-byte characters
and the ambiwidth setting into account.
Since we need to take into account older Vim 7.4 (which might not have
the strcharpart() function), do introduce a compatibility wrapper in
airline#util that checks for the existence of the function before using
it. Older Vims will keep on using the byte-based index. I suppose Vim
7.4 before the strcharpart() function was available (patch 7.4.1730)
shouldn't be in use anymore.
closes #1948
2019-08-20 14:21:10 +02:00
Christian Brabandt
0f375addd2
term: differentiate different term modes
...
closes #1958
closes #1957
2019-08-20 14:01:09 +02:00
Christian Brabandt
a40184536b
Merge pull request #1951 from liujoey/master
...
add neoterm support
2019-08-11 14:38:52 +02:00
Liu, Joey
67a97c1ea0
add neoterm support
...
it shows neoterm_id on a inactive neoterm window
2019-08-02 13:23:42 -04:00
Christian Brabandt
c213f2ac44
Merge pull request #1947 from matoruru/patch-1
...
Updata a url in airline.txt
2019-07-27 11:13:37 +02:00
matoruru
770d57a01d
Updata a url in airline.txt
...
"neoclide/coc" -> "neoclide/coc.nvim"
2019-07-27 12:06:26 +09:00
s1341
3f7222e488
Add support for vim-tabws tabline
...
closes #1938
2019-07-23 09:40:18 +02:00
shmaryar
28dcb68bf3
Add vista.vim ( https://github.com/liuchengxu/vista.vim ) integration
2019-07-23 09:38:14 +02:00
Christian Brabandt
28cd6253e9
Remove rvm dependency on ruby 1.9.3
...
looks like this no longer runs on travis-ci, so disableing it for now
2019-07-23 09:36:35 +02:00
Christian Brabandt
2db9b27e39
async: Better fix for #1936
...
fix #1936 in a different way
2019-06-14 10:30:05 +02:00
Christian Brabandt
71c80aaf54
async: Check existence of buffer before accessing it
...
fixes #1936
2019-06-14 09:40:30 +02:00
Christian Brabandt
63a75aca2a
term: Make terminal extension work on entering it
...
does not work with Neovim since TermOpen is not used (see #1828 for the
bug)
2019-06-12 11:36:47 +02:00
Christian Brabandt
73b4e4233c
Remove Neovim Workaround, as bug has been fixed
2019-06-12 11:26:09 +02:00
Christian Brabandt
28453d7038
Support Multiple Cursor mode
...
Detect the use of plugin https://github.com/mg979/vim-visual-multi
and show mode "MULTI" when it is active.
closes #1933
2019-06-11 09:48:08 +02:00
Christian Brabandt
826561daf3
say thanks
2019-06-04 08:30:57 +02:00
Christian Brabandt
48d9d5e901
neovim: Do not react on BufWinEnter for floating windows
...
closes #1930
2019-06-03 10:35:58 +02:00
Christian Brabandt
7d5302b51f
plugin: make the on_window_changed function take the autocommand as argument
...
This is just for making it easier to debug why the plugin update called
2019-06-03 08:30:27 +02:00
Christian Brabandt
3921bc13a3
async: do not clean up job dir for running jobs
...
closed #1929
2019-06-03 08:22:39 +02:00
Christian Brabandt
c7b8a56b22
Merge pull request #1928 from cometsong/cometsong-readme-link
...
Update README.md: new link(38) to vim-ctrlspace
2019-05-30 19:32:02 +02:00
Benjamin Leopold
a0c9198fa2
Update README.md: update link(38) to vim-ctrlspace
2019-05-30 10:17:56 -04:00
Christian Brabandt
4a1ac56286
Define coc functions as empty by default
...
fixes #1926
2019-05-29 21:04:32 +02:00
Christian Brabandt
b19dc8fc65
Merge pull request #1925 from peng1999/master
...
Coc integration
2019-05-29 17:30:24 +02:00
Peng Guanwen
b3ecf49f86
Coc integration
2019-05-29 21:20:20 +08:00
Christian Brabandt
193e350440
Check existence of variable before trying to set it
...
closes #1924
2019-05-24 08:14:25 +02:00
Christian Brabandt
3abbfabf55
Merge pull request #1922 from petobens/master
...
Extend denite statusline to denite-filter buffer
2019-05-22 15:39:21 +02:00
petobens
f07889c266
Extend denite statusline to denite-filter buffer
...
Closes https://github.com/vim-airline/vim-airline/issues/1920
2019-05-22 10:33:03 -03:00
Christian Brabandt
7b20361baf
denite: correctly test denite version
...
references #1918
2019-05-14 16:31:52 +02:00
kazukazuinaina
03f63eb666
adopt denite ver3.0
...
closes #1918
2019-05-13 15:17:17 +02:00
Christian Brabandt
9a1acf144f
async: Correctly reset dirty flag
2019-05-08 17:22:34 +02:00
Christian Brabandt
79f91649b6
branch: Check untracked and dirty only wehn the fugitive/lawrencium plugins are installed
2019-05-08 13:57:25 +02:00
Christian Brabandt
1b41629214
async: do not show dirty sign for error messages
...
closes #1915
2019-05-08 13:51:50 +02:00
Christian Brabandt
ea7f5d5313
extensions: show loaded extension once (at most once)
...
could happen, that extensions are shown several times, if airline is
available in your &rtp several times (for whatever reason)
2019-05-03 12:43:21 +02:00
Christian Brabandt
cd2884abf1
bookmark: do not error out, if the plugin isn't installed
...
fixes #1912
2019-05-03 12:37:17 +02:00
Christian Brabandt
715274c3f9
Merge pull request #1912 from bpetri/master
...
vim-bookmark extension
2019-05-03 12:00:57 +02:00
Bjoern Petri
f1529ce051
vim-bookmark extension
2019-05-03 10:44:09 +02:00
Christian Brabandt
a26a460698
branch: configure what additional checks to run
...
Allow to customize, whether to check the untracked status of a file or
whether the current repository is clean.
fixes #1910
2019-05-02 08:14:57 +02:00
Christian Brabandt
cc8f47e248
async: fix small problems with dirty jobs
2019-05-02 07:57:10 +02:00
Christian Brabandt
2db882e9b8
async: check dictionary keys before trying to access them
2019-05-01 07:45:06 +02:00
Christian Brabandt
8169aa25af
init: make sure the dirty symbol is defined
...
references #1907
2019-04-30 17:36:31 +02:00
Christian Brabandt
7469672a46
extensions: Allow customization of filetypes
...
Define the variable :let g:airline_filetype_overrides to allow for
specific customization how a specific filetype will be displayed.
For e.g. a German display, you can use: >
:let g:airline_filetype_overrides = {'help': ['Hilfe', ':%f']}
<
This defines how section a and b will look like for a window with that
specific filetype.
Closes #1888
2019-04-30 17:28:51 +02:00
Christian Brabandt
170b6d4c26
extensions: sort filetype_overrides
2019-04-30 16:54:48 +02:00
Christian Brabandt
d1e82c71a3
branch: check existence of dirty key before accessing it
...
closes #1907
2019-04-30 16:33:05 +02:00
Christian Brabandt
28ed36a9ec
whitespace: fix small problems from conflicts test
2019-04-26 22:08:26 +02:00
Christian Brabandt
1fedd3a2b7
updated Changelog
2019-04-26 14:42:35 +02:00
Christian Brabandt
538326ceac
whitespace: Also check for Git conflict markers
2019-04-26 14:38:13 +02:00
Christian Brabandt
d4f645777e
Updated documentation
2019-04-26 13:56:02 +02:00
Christian Brabandt
a753422549
main: Make :AirlineRefresh! skip recrecrating highlighting groups
...
When `g:skip_empty_sections` is set, `:AirlineRefresh` can be called
very often and cause slow down, because it forcefully re-creates the
highlighting groups. This is mostly not needed for the redraw to happen,
therefore, add the `<bang>` attribute to the command, making it skip to
re-create the highlighting groups and have all extensions that rely on a
forced update use the `!` form.
Should be much fast then.
fixes #1908
2019-04-26 10:16:40 +02:00
Christian Brabandt
fdd75df927
async: cleanup logic for nvim/vim8/vim7
2019-04-25 15:07:12 +02:00
Christian Brabandt
6b213e1071
branch: make it work with vim74
...
closes #1907
2019-04-25 14:43:56 +02:00
Christian Brabandt
9c1486522a
branch: ignore submodules for git when determing clean state
2019-04-25 08:47:05 +02:00
Christian Brabandt
11cd15d218
async: fnameescape filename
...
A buffer name wich special characters such as Command-T [Files] will
cause E94 when trying to call setbufvar() on it. That is because the
'[]' is special in buffer names. Therefore, fnameescape the buffer name.
This should prevent 'E94: No matching buffer for
/home/louis/git/minivimrc/Command-T [Files]' errors.
closes #1906
2019-04-25 07:41:56 +02:00
Christian Brabandt
1297773a26
branch: skip untracked files for clean state
2019-04-25 07:35:41 +02:00
Christian Brabandt
a8b0c5f760
branch: skip for non-empty &buftype buffers
2019-04-25 07:32:13 +02:00
Christian Brabandt
ffd8c406ab
branch: Make the branch extension available with 80 char wide windows
2019-04-24 16:12:54 +02:00
Christian Brabandt
9f193de600
branch: Remove spurious dirty var
2019-04-24 15:51:43 +02:00
Christian Brabandt
28bebd35ea
fugitiveline: use correct fugitive functions
2019-04-24 15:48:16 +02:00
Christian Brabandt
3ac318bfd3
fugitive: replace old buffer().commit() function by new global function
...
as requested by the exception thrown:
fugitive: A third-party plugin or vimrc is calling
fugitive#buffer().commit() which has been removed. Replace it with
matchstr(FugitiveParse()[0], '^\x\+')
2019-04-24 15:29:51 +02:00
Christian Brabandt
9112675ad8
branch: display dirty state
...
If the repository is considered dirty, do display the
g:airline_symbols.dirty symbol right after the branch name.
2019-04-24 15:16:57 +02:00
Christian Brabandt
a8c96d7c07
async: Move function definition so it is valid for nvim
2019-04-24 13:27:25 +02:00
Christian Brabandt
941341d085
branch: simplify async logic a bit
2019-04-24 13:25:31 +02:00
Christian Brabandt
ead2cd63bb
term: only strip first letter from name, if it starts with '!'
2019-04-18 15:52:54 +02:00
Christian Brabandt
704e58e1b7
Fix failing test and make it aware of tablabel_right
2019-04-17 13:24:19 +02:00
Christian Brabandt
6acb234a12
tabline: Use separate hi group for label on right
...
if the same highlighting group is used on the left and right for the
label, the `airline_tablabel_to_airline_tabmod` will be overwritten on
the right side, causing the fg/bg colors to be wrong, because on the
right side they have to be the opposite of the left side.
So use a separate highlighting group for the tablabel on the right.
closes #1902
2019-04-17 09:04:56 +02:00
Christian Brabandt
d1d9548b8e
themes: correctly catch not-found in init function
...
plugin/airline.vim was calling airline#switch_theme() without actually
catching the 'not-found' exception.
Therefore, in case of errors, explicitly switch to a dark theme.
closes #1903
2019-04-17 08:27:30 +02:00
Christian Brabandt
773f0e3637
Merge pull request #1898 from clobrano/short-path-formatter
...
Add formatter for short paths
2019-04-15 10:07:19 +02:00
Carlo Lobrano
0f1aec97da
Add documentation for short_path formatter
2019-04-14 10:03:24 +02:00
Carlo Lobrano
ebb8f0c2b1
Add formatter for short paths
...
Add new formatter that shows the file path up to the first parent directory
2019-04-10 22:17:43 +02:00
Christian Brabandt
cbf264ff5f
Merge pull request #1897 from shayneholmes/wordcount-formatters
...
Search for wordcount formatters with extension
2019-04-09 20:56:34 +02:00
Shayne Holmes
979e04a6ec
Search for wordcount formatters with extension
...
Autoload expects the autoload scripts to have the '.vim' extension.
Fixes #1986 .
2019-04-09 11:52:40 -07:00
Christian Brabandt
86e73cade7
Get a random number from win32 cmd.exe
2019-03-26 21:53:47 +01:00
Christian Brabandt
4265798d4b
style: rename inconsistent function names
2019-03-26 21:10:45 +01:00
Christian Brabandt
148eb6bb28
Allow to switch to a random theme
...
You can now specify the special theme name `random` and vim-airline will
load a random theme from the ones installed. This works from either your
.vimrc as well as when calling `:AirlineTheme` command directly.
closes vim-airline/vim-airline-themes#170
2019-03-26 21:03:13 +01:00
Christian Brabandt
a6fb6d9da0
Extensions: indicate, if an extension is external
...
Show in :AirlineExtensions if the extension comes bundled with airline
or from an external source.
closes #1890
2019-03-26 08:41:36 +01:00
Christian Brabandt
1fb184305b
fugitiveline: simplify modify logic
...
The 'autochdir' option could be toggled on later in a session.
So do not set the has_autochdir flag once the file is read, but evaluate
it every time the corresponding function is called.
While at it, get rid of the s:fmod variable. Instead let a helper
function return the correct modifier flags depending on the value of the
'autochdir' option.
2019-03-25 12:34:09 +01:00
Christian Brabandt
c8a36e14e9
Updated Copyright Statements
2019-03-25 12:29:47 +01:00
Christian Brabandt
45205aa4a3
wordcount: expose filetype list to global scope
...
allows better configuration of filetypes to be wordcounted.
fixes #1887
2019-03-19 08:28:51 +01:00
Christian Brabandt
b84e548522
Make displaying the tab count optional
...
Set the g:airline#extensions#tabline#show_tab_count to zero to disable.
fixes complaints at #1882
2019-03-16 09:32:35 +01:00
Christian Brabandt
6ab14bf474
tabline: add consistent tab label to the end
...
closes #1882
closes #1883
2019-03-08 14:05:38 +01:00
Christian Brabandt
1c3ae6077a
Merge pull request #1879 from gmolau/Fix-syntastic-formatting
...
Fix the formatting of syntastic error messages
2019-02-22 07:49:52 +01:00
Christian Brabandt
eb0ddf61dc
Merge pull request #1877 from maxnordlund/resepct-minwidth-for-vcs
...
Respect minwidth for hunks and branch parts
2019-02-22 07:49:28 +01:00
Georg Molau
395fccfda7
Fix the formatting of syntastic error messages
...
The magic flags were in the wrong order, %e is the number of errors, it
should go in the parentheses after the # symbol. %fe is the line number
of the first error. Same for the warnings.
2019-02-22 00:53:41 +01:00
Max Nordlund gmail
b69aa396c1
Remove trailing whitespace
2019-02-21 11:59:04 +01:00
Max Nordlund gmail
61ca196d73
Move formatting of branch name into get_head
...
This allows for advanced customization where the shortening of the
branch name is up to the caller, unlike before.
This change is observable from the outside, and as such can be
dangerous. But AFAIK it does not change the default behavior.
2019-02-21 11:59:04 +01:00
Max Nordlund gmail
5f769dbed9
Expose get_hunks for advanced customization
2019-02-21 11:59:04 +01:00
Max Nordlund gmail
45ff435378
Honor minwidth for hunks and branch parts
...
This removes the hardcoded minwidth limits for both the `hunks` and
`branch` parts. It replaces these with safe accesses to the `minwidth`
setting as done by `airline#parts#define_minwidth`.
2019-02-20 12:36:40 +01:00
Christian Brabandt
448aa43ec4
Merge pull request #1875 from petobens/master
...
Fix denite extension
2019-02-12 11:15:14 +01:00
petobens
cc7b3c1636
Fix denite extension
2019-02-11 09:22:43 -03:00
Christian Brabandt
1471330825
Adjust buffer numbers for buf_idx_mode v2 slightly
...
fixes #1823
2019-02-08 07:55:35 +01:00
Christian Brabandt
05572482b8
tabline: add forgotten changes from commit cd1d8c2a96
...
I accidentally missed including some more changes for buffer_idx_mode=2.
So add those files now.
2019-02-07 08:17:33 +01:00
Christian Brabandt
cd1d8c2a96
Introduce buffer_idx_mode v2
...
fixes #1823
2019-02-07 08:11:47 +01:00
Christian Brabandt
624d2f1438
tabline: AirlineSelectTab still wrong sometimes
...
Partly revert commit 105e9daaf7
and fix #1857 another way, by making sure, that buffers are not taking
away from the s:current_visible_buffers list.
Fixes #1857
Fixes #1872
2019-02-06 22:42:10 +01:00
Christian Brabandt
767c1efd10
bufferline: catch invalid modelines
2019-02-05 08:35:57 +01:00
Christian Brabandt
999c40fcf3
tabline: simplify creation of maps
...
instead of typing all the mapping commands, create a loop that will
create the new maps.
2019-02-04 21:59:40 +01:00
Christian Brabandt
105e9daaf7
tabline: Make the PlugAirlineSelectTab buffers work as expected
...
for bufferlist.
fixes #1857
2019-02-04 21:47:11 +01:00
Christian Brabandt
4078688305
README.md: move section header
2019-02-04 10:38:11 +01:00
Christian Brabandt
96d42317b1
Update README.md
2019-02-04 10:37:34 +01:00
Christian Brabandt
23a8a7e04d
doc: ammend doc about statusline on top
2019-02-04 09:55:48 +01:00
Christian Brabandt
25e384f236
wordcount: move User autocommand to plugin
...
Do not scatter the autocommands around, but rather move the auto command
to the main plugin file. The function that handles the auto command will
be created in the autoload script.
Also add a call to force updating the tabline, if g:airline_statusline_ontop
is defined.
In addition, the wordcount() extension did not correctly notice
block-wise visual mode, so while creating the airline#mode_changed()
function, make the mode also detect blockwise visual mode correctly.
2019-02-04 08:25:45 +01:00
Christian Brabandt
8867301f78
plugin: Move tabline_update function to autoload
2019-02-04 08:23:58 +01:00
Christian Brabandt
840bf02baf
autoload: Fix typo in comment
2019-02-04 08:21:39 +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
58bbc512f9
tabline: Only define Terminal autocommand if vim supports it
...
fixes the broken CI test which runs in a vim that does not come with
terminal support
2019-02-03 10:43:23 +01:00
Christian Brabandt
1d03b9dc62
tabline: invalidate buffer list on Terminal Enter
...
should workaround and fix #1853 in a better way
2019-02-03 10:36:07 +01:00
Christian Brabandt
916d023c35
buflist: do not consider empty buffers to be excluded
...
currently, empty buffer names were still considered to match against the
exclude_path setting. That does not make sense, so skip the check for
empty bufnames.
2019-02-02 22:43:27 +01:00
Christian Brabandt
0a1f4cc910
doc: clarify usage about AirlineSelectTab mappings
...
closes #1857
2019-02-02 22:22:25 +01:00
Christian Brabandt
5415c5e6ec
tabline: Fix broken call to formatter
2019-02-02 21:57:15 +01:00
Christian Brabandt
a30df884f4
Update Changelog to link to correct diff on github
2019-02-02 18:17:08 +01:00
Christian Brabandt
54584a2bb2
fugitive: mark fugitive like buffers with "[git]"
...
closes #1852
2019-02-02 18:04:53 +01:00
Christian Brabandt
dc7d991007
Tabline: Make specifying formatter more easy
...
closes #1863
2019-02-02 17:45:55 +01:00
Christian Brabandt
d372b5bc46
tabnr formmatter: fix style
2019-02-02 17:45:33 +01:00
Christian Brabandt
98bc6abde3
languageclient: check for existence of 'result' key
...
fixes #1861
2019-01-28 11:21:32 +01:00
Christian Brabandt
9355e683cd
Merge pull request #1865 from w0rp/patch-1
...
Remove incorrect copyright attribution
2019-01-28 11:15:46 +01:00
w0rp
54dba2a92b
Remove incorrect copyright attribution
...
I have never touched anything in this file, nor in the LanguageClient plugin, so the copyright attribution is incorrect. @neersighted may also wish to be removed from the list here.
2019-01-28 10:11:43 +00:00
Christian Brabandt
a829ec4861
Merge pull request #1864 from petpetpetpet/more_efficient_ale_line_numbers
...
More efficient ale line number function.
2019-01-28 10:57:13 +01:00
Christian Brabandt
d3859dc5dd
Merge pull request #1862 from mbbill/master
...
Fixed t:undotree undefined error
2019-01-28 10:55:44 +01:00
petpetpet
57c061dcb0
Added a hook to the new ALE api to grab line numbers. Should be more
...
efficient.
2019-01-27 13:57:18 +00:00
Ming, Bai
6601474bf5
Fixed t:undotree undefined error
...
the ```t:undotree.GetStatusLine()``` is appended to the status line when ```t:undotree``` exists, but it seems like the ```statusline``` will be executed when ```t:undtree``` is no longer available during window destruction.
2019-01-22 14:52:39 -08:00
Christian Brabandt
e0bde5dea4
Merge pull request #1859 from knatsakis/no-ctrlp-memleak
...
Fix ctrlp memory leak
2019-01-21 11:21:34 +01:00
Konstantinos Natsakis
53aa65a5ce
Fix ctrlp memory leak
2019-01-17 15:34:19 +02:00
petobens
fa5910eb14
extensions: Add defx support
...
closes #1850
2019-01-11 10:49:31 +01:00
Christian Brabandt
d68c9bbeb2
tabline: make middle-click work as expected in neovim
...
closes : #1854
2019-01-11 10:44:10 +01:00
Christian Brabandt
70b86537bd
Merge pull request #1855 from arjanvandervelde/patch-1
...
make VimLeave autocmd nested
2019-01-11 10:41:20 +01:00
Arjan van der Velde
2d3bbbff43
make VimLeave autocmd nested
...
add "nested" to autocmd to make it play well w/ YouCompleteMe
see 109a019279/README.md (ycm-does-not-shut-down-when-i-quit-vim)
2019-01-10 23:15:30 -05:00
Christian Brabandt
6fd5b6ae56
tabline: Fix redrawtabline typo
2019-01-09 08:26:07 +01:00
Christian Brabandt
4604f6d465
tabline: Use :redrawtabline if available
...
this needs patch 8.1.706 and is a less hacky approach to force updating
the tabline
2019-01-09 07:42:32 +01:00
Christian Brabandt
72888d87ea
Revert "Make plugin reloadable"
...
This reverts commit 56197d5104 .
fixes #1844
2018-12-18 16:13:03 +01:00
Christian Brabandt
56197d5104
Make plugin reloadable
...
there was a call to s:init() missing in the toggle function.
Without it, it wouldn't reload correctly, since the s:initialized
variable would never be set to 1 again. So load it when setting up
everything correctly.
fixes #1842
2018-12-17 22:23:40 +01:00
Christian Brabandt
c0f96df97f
Update metadata (copyright)
...
also remove trailing empty lines in test files
2018-12-15 19:56:30 +01:00
Christian Brabandt
39ac0a93e5
document changelog for new release
2018-12-15 19:45:50 +01:00
Christian Brabandt
e3cfd3643b
wordcount: prevent use of unused variable
2018-12-10 09:11:10 +01:00
Christian Brabandt
3d9071e6b6
themes: Load dark theme, when default colorscheme is loaded
2018-12-03 18:29:26 +01:00
Christian Brabandt
bd468dacfe
Revert TermOpen autocommand for Neovim
...
closes #1828
2018-11-22 08:31:14 +01:00
Christian Brabandt
c047abfe96
Add inactive statusline for terminal
2018-11-20 16:32:55 +01:00
Christian Brabandt
bc63a60b0f
terminal: return proper terminal name
2018-11-20 16:11:34 +01:00
Christian Brabandt
f9ccb57e76
Make terminal extension work with Neovim
2018-11-20 15:55:11 +01:00
Christian Brabandt
31f5a9307d
Make terminal statusline work for inactive window
2018-11-20 15:48:28 +01:00
Christian Brabandt
fa11b8855b
Test for TerminalOpen Autocommand before using it
2018-11-20 15:28:29 +01:00
Christian Brabandt
904ac4eb0b
plugin: Reload terminal extension on :term command
2018-11-20 14:51:22 +01:00
Christian Brabandt
ada0ba8ae3
doc: reorder extension configurations alphabetically
2018-11-14 09:28:16 +01:00
Christian Brabandt
426c8bb8ef
doc: update documentation
2018-11-14 08:26:18 +01:00
Christian Brabandt
df0c1731db
Add :AirlineExtensions command
...
This shows whether or not an extensions has been loaded.
2018-11-14 08:06:39 +01:00
Christian Brabandt
f6a95d3a6f
Fix wrong extension name for unicode
2018-11-14 07:41:48 +01:00
Christian Brabandt
ffac12cbbe
theme: do not show not-found warning
...
Only show the "airline theme not found" warning message, when the user
actually used `:AirlineTheme foobar`, not when called by an autocommand
that tries to switch themes when the Vim colorscheme changed.
fixes #1824
2018-11-14 07:36:45 +01:00
Christian Brabandt
b2e1dbad6f
use tr() instead of substitute
...
should be a bit faster
2018-11-13 22:54:49 +01:00
Christian Brabandt
b3a574b4a3
Fix error in airline#add_statusline_funcref
2018-11-13 22:53:13 +01:00
Christian Brabandt
7f6dfbefd1
theme: only define g:autoload_theme if loading was successfully
...
fixes the test
2018-11-13 22:39:36 +01:00
Christian Brabandt
5b1c92979c
Fix error in airline#add_statusline_funcref
2018-11-13 22:36:43 +01:00
Christian Brabandt
9dc546c699
use tr() instead of substitute
...
should be a bit faster
2018-11-13 22:29:32 +01:00
Christian Brabandt
14691bb00e
themes: load them explicitly rather than implictly
...
While this adds a bit more code it makes it possible to distinguish
between themes not found and errors in themes.
Use :verbose AirlineTheme <foobar>
to also see the error message in case of errors.
2018-11-13 22:27:02 +01:00
Christian Brabandt
b20e181bc8
Add a separate function for returning all available themes
2018-11-13 22:14:51 +01:00
Christian Brabandt
49671d0a11
terminal: do not reset airline theme on TerminalOpen
...
remove autocommand, that would overwrite the airline theme on :term
(e.g. After a :AirlineTheme monochrome and then using `:term` the
autocommand would reset the theme back to the one given in the .vimrc)
2018-11-13 22:01:36 +01:00
Christian Brabandt
cd0b15b195
plugin: use airline#util#warning instead of echo consistently
2018-11-13 21:37:52 +01:00
Christian Brabandt
c3ee263d5b
whitespace: use airline#util#warning instead of echo consistently
2018-11-13 21:37:52 +01:00
Christian Brabandt
2eaf57ece8
xtabline: use airline#util#warning instead of echo conistently
2018-11-13 21:37:52 +01:00
Christian Brabandt
c850f485ad
autoload: use airline#util#warning instead of echo
2018-11-13 21:37:48 +01:00
Christian Brabandt
464633baad
themes: Do not try to load the palette twice
...
This will be done explicitly by the switch_theme() function
2018-11-13 21:17:48 +01:00
Christian Brabandt
d441b3f7b6
util: use correct endfunction style
2018-11-13 21:11:04 +01:00
Christian Brabandt
f05f649be8
highlighter: even further refinement of when to skip groups
2018-11-13 13:57:15 +01:00
Christian Brabandt
cfd373a5a2
highlighter: Better check, when to skip groups
...
Groupnames like 'airline_c1_to_airline_x_inactive' still have to be
processed, so do not skip them.
Also for the tabline, '_inactive' groups are not used, so skip them
2018-11-13 13:48:26 +01:00
Christian Brabandt
6ceaffc49a
documentation: Mention AirlineModeChanged
...
In 781c40bb3d the AirlineModeChanged user-defined
autocommand has been introduced. However it was forgotten to mention
this actually in the documentation.
So here we go.
closes #1774
2018-11-13 09:19:56 +01:00
Christian Brabandt
78e67897a4
highlight: fix previous commit differently
...
Actually we can restrict the loop condition to only run 5 times instead
of 6 (which was an oversight).
2018-11-13 09:06:39 +01:00
Christian Brabandt
e66d65ebf4
highlighter: break out of loop at the end
...
thanks for mentioning @jottkaerr at
4d8a06a5a9 (commitcomment-31275754)
2018-11-13 08:50:10 +01:00
Christian Brabandt
4d8a06a5a9
highlighter: get rid of s:Get() function
...
Replace by a function that retuns the to be executed highlighting string
Should in theory be a bit faster, since the same function does not have
to be called 5 times per highlighting group.
It probably is not much better, but here are some random numbers:
Profiling:
Previously:
count total (s) self (s)
199 0.022973 0.009909 let cmd = printf('hi %s %s %s %s %s %s %s %s', a:group, s:Get(colors, 0, 'guifg=')…
New:
count total (s) self (s)
79 0.010166 0.000862 let cmd = printf('hi %s%s', a:group, s:GetHiCmd(colors))
2018-11-12 17:59:02 +01:00
Christian Brabandt
6c6c6c104f
highlighter: exec_separator will re-create '_to_' groups
...
so we don't need to re-create them in the main for loop of
airline#highlighter#highlight() and so skip those groups.
2018-11-12 05:18:53 +01:00
Christian Brabandt
f3d6a3542a
Revert "highlighter: also check separator groups for being defined"
...
This reverts commit 99971aa24d .
2018-11-11 21:18:13 +01:00
Christian Brabandt
e8fd2057a8
doc: Mention how to add funtions for inactive statuslines
2018-11-08 17:20:41 +01:00
Christian Brabandt
8c36d2b595
allow to use alternative seperators for inactive windows
...
closes #1236
2018-11-08 17:09:17 +01:00
Christian Brabandt
a993ae5d42
builder: don't call add_separtor twice
2018-11-08 16:44:26 +01:00
Christian Brabandt
f08078d683
autoload: add comments
2018-11-08 16:20:37 +01:00
Christian Brabandt
99971aa24d
highlighter: also check separator groups for being defined
...
Make sure, to also check, if the separator groups have already been
defined. Once they are defined initially, they are usually available in
the palette group. So do not redefine them once they have been created
initially.
references #1779
2018-11-08 15:31:58 +01:00
Christian Brabandt
d57344a3c3
highlighter: skip more buffer related hi groups
...
Previously, we only checked for if the name starts with 'airline_c'
But there could as well be highlighting groups starting being called
'airline_b_to_airline_c5', but if buffer 5 is no longer visible in the
current viewport, then we do not need to recreate those groups.
2018-11-08 13:32:20 +01:00
Christian Brabandt
496de8b745
highlighter: do not skip empty c_sections
...
currently, if the matchstr() evaluates to '', it would skip the required
section, because bnr would be evaluated to zero and since there is no
buffer zero, skip that highlighting group.
Make sure, to only skip the highlighting group if the buffer number is
actually > 0
2018-11-08 12:40:46 +01:00
Christian Brabandt
71dc6f0257
highlighter: fix regex typo
2018-11-08 12:24:02 +01:00
Christian Brabandt
09b5eb952c
highlighter: Only recreate hi groups for visible buffers
...
In a long editing session, there could happen to accumulate several
highlighting groups for buffers that might no longer be visible.
Therefore, only re-create the highlighting group for buffers that are
actually displayed in the current tabpage. If not, skip them.
references #1779
2018-11-08 12:20:55 +01:00
Christian Brabandt
a334a89e59
plugin: better check for timer and funcref
2018-11-08 07:54:01 +01:00
Christian Brabandt
ce6cf6f07e
Check that funcrefs() actually exists
...
closes #1819
2018-11-07 17:55:11 +01:00
Christian Brabandt
b7367c605a
highlighter: do not redefine the same groups several times
...
previously, it could happen that the same highlighting group was defined
several times, because it was available in several modes within
g:airline#theme[mode]. So the second one would always win.
Therefore, loop through all modes in reverse order and define the group
and remember what group has already been defined. If we happen to have
to re-define the same group, skip it. Since we are traversing the list
in reverse order, this should make sure the last definition wins.
This has the benefit of being more performant and hopefully helps with
e.g. #1779 and similar issues.
2018-11-07 14:25:40 +01:00
Christian Brabandt
18200bfad3
modes: do not add special sections to accents
2018-11-07 13:49:22 +01:00
Christian Brabandt
33a633766d
main: do not trigger FocusGained on startup
...
commit f045452743 introduced the
FocusGained autocommand. Unfortunately, for some systems this might
trigger already at startup, resulting in an unwanted redraw that might
clear the intro screen.
Therefore, add a timer, that enables the FocusGained autocommand after 5
seconds. The 5 seconds is somewhat arbritrarely, but we could change it
later if it turns out to be not useable.
fixes #1817
2018-11-07 10:46:57 +01:00
Christian Brabandt
776f7aa948
Merge pull request #1816 from amiller27/numbered-ctrlspace-tabs
...
Add option for numbered tabs
2018-11-01 16:10:16 +01:00
Aaron Miller
62f3d1d412
Add option for numbered tabs
...
Cleaned up variable name, added documentation
2018-11-01 10:44:44 -04:00
Christian Brabandt
6516b1b4dc
po: only reset cache if window width changed
2018-11-01 11:18:04 +01:00
Christian Brabandt
fc021cf4e8
po: only substitute, if value is present in string
2018-11-01 11:14:57 +01:00
Christian Brabandt
6508558c3d
po: shorten and reformat message format for smaller windows
2018-11-01 10:40:41 +01:00
Christian Brabandt
08e9aa5386
Merge pull request #1810 from LarsMichelsen/visualize_checking
...
Visualize that ale is currently checking the current buffer
2018-10-22 08:59:52 +02:00
Lars Michelsen
0609a1f945
Visualize that ale is currently checking the current buffer
...
At the moment you can never be sure whether you look at the results
that ale just produced after your last changes or you are looking at
outdated information.
Instead of showing the last results while ale executes checks on the
current buffer it can now show a specific indicator.
This commit introduces the new config variable
`g:airline#extensions#ale#checking_symbol` which defaults to "...". In
case you don't want to see this, you may set it to an empty string.
2018-10-18 21:33:15 +02:00
Christian Brabandt
2e99805dbf
Fix failing test
2018-10-16 12:13:24 +02:00
Christian Brabandt
726b730f0a
highlight: correctly cache and restore reverse attributes for highlighting colors
...
references #1779
2018-10-16 12:03:31 +02:00
Christian Brabandt
7e004804d1
Merge pull request #1811 from LarsMichelsen/update_post_ale
...
Improve update logic after ale finished
2018-10-16 10:56:49 +02:00
Christian Brabandt
d81cdacb1e
better disabled highlighting for inactive windows on FocusLost
...
This will make sure that the current window will be highlighted as
expected, even if there are no other windows and all highlighting groups
will be correctly re-created as 'inactive'
references #1807
2018-10-16 10:49:17 +02:00
Christian Brabandt
c44bbc66f5
main: make sure winnr is available in s:context for check_mode function
2018-10-16 10:26:26 +02:00
Christian Brabandt
61e2c7f86a
Merge pull request #1813 from fishioon/master
...
Remove trailing space
2018-10-15 15:53:12 +02:00
fish
4d825bdb64
Remove trailing space
2018-10-15 20:35:28 +08:00
Christian Brabandt
07ac69570b
main: make FocusLost autocommand configurable
...
references #1807
2018-10-15 14:23:45 +02:00
Christian Brabandt
68f5f1e50d
mode: Update doc, sort dict
2018-10-15 14:17:49 +02:00
Lars Michelsen
3f34ff56b8
Improve update logic after ale finished
...
Previously the ale refresh was triggered after user interactions only.
When linting takes some time and the user is not actively working the
ale information was not updated while the things ale directly controls
were updated. This change makes showing linting results a loot smoother.
2018-10-14 20:19:39 +02:00
Christian Brabandt
f045452743
main: disable airline on FocusLost
...
When switching away from Vim and your terminal supports the FocusLost
autocommand, set the statusline to inactive, so it won't distract you
too much when working with another application.
In the gui, the FocusLost autocommand should always trigger.
This is now the default, if people start complaining, that behaviour
should probably be made configurable.
closes #1807
2018-10-03 12:31:45 +02:00
Christian Brabandt
13993d120e
Merge pull request #1805 from doronbehar/exteralize-quickfix-type-func
...
Externalize quickfix function returning text
2018-10-02 20:17:56 +02:00
Doron Behar
7190164451
Externalize quickfix function returning text
...
Useful when one wants to use this function for something else and to
know if a QuickFix window is actually a Location list with qf as
`&filetype`.
2018-09-28 12:56:49 +03:00
Christian Brabandt
a0298263b7
autocomd: do not re-evaluate modelines
...
fixes #1804
2018-09-25 16:03:30 +02:00
Liam Fleming
2390022e33
wordcount: do not rely on english in old versions
...
for older Vims, the wordcount extension falls back to `g<c-g>` and
parses the messaage that is generated.
When doing so, it expects the English locale, which might not be true.
Therefore, try to regex parse the result without using the english words
(assuming the output is still in the same order as in English).
2018-09-23 20:10:32 +02:00
Christian Brabandt
57bbe050c7
Merge pull request #1801 from flemingfleming/wordcount-fixes
...
The rest of the wordcount fixes, and some improvements
2018-09-23 17:38:11 +02:00
Christian Brabandt
dd508340ea
Merge pull request #1803 from dfalling/master
...
Add dictionary key check for d.severity
2018-09-23 17:37:25 +02:00
Dennis Falling
2f17e368b5
Add dictionary key check for d.severity
2018-09-23 10:50:15 -04:00
Liam Fleming
0f6cfcdfc2
wordcount: Fix the visual count matching pattern
2018-09-22 13:57:53 +01:00
Liam Fleming
264c1fefd2
wordcount: Compatibility fixes and General upkeep
...
Compatibility:
- Don't use a script-local function to update the format strings
- Protect against `:normal!' moving the cursor on on the wordcount check
Bugfix:
- Let to_string() try to return something for all values
- Now returns correctly when passed both 0 and '0'
Upkeep:
- Simplify check again no valid key from winwidth()
- Old wordcount check: use matchstr() - more expressive and fewer steps
- Improve documentation style/clarity/detail
2018-09-22 03:34:27 +01:00
Christian Brabandt
ae024293e4
wordcount: fix wrong normal mode command
2018-09-21 21:37:21 +02:00
Christian Brabandt
ecf10d0e58
wordcount: check that the retun value has the dict key
...
else it will throw an error.
2018-09-21 11:49:42 +02:00
Christian Brabandt
11e6492849
Merge pull request #1797 from flemingfleming/wordcount-improvements
...
wordcount: Update documentation
2018-09-20 17:34:02 +02:00
Liam Fleming
dcf76b0992
wordcount: Update documentation
...
- g:airline#extensions#wordcount#filetypes is now documented as a list
- New to_string() function for formatters
2018-09-20 15:51:41 +01:00
Christian Brabandt
82a6097b01
wordcount: work-around non-existing v:t_list
...
v:t_list is an internal variable describing the type of a list.
Unfortunately, this is not available in older vims. So let's fall back
to using `type([])`
see #1795
2018-09-20 11:44:17 +02:00
Christian Brabandt
7957bd1d32
wordcount: only add fmt function once to statusline functions
...
This prevents a warning message, when the function is tried to add
several times. Also while at it, add a '!' so that no error is thrown if
the file is sourced a second times.
2018-09-20 10:41:50 +02:00
Christian Brabandt
110594c91a
tabline: remove spurious variable
2018-09-20 10:31:14 +02:00
Christian Brabandt
012229fe08
tabline: Ignore buffers in buflist matching ignore_bufadd_pat
...
closes #1777
2018-09-20 10:26:32 +02:00
Christian Brabandt
a60eabb82f
tabline: do not show terminal buffers by default
2018-09-20 10:25:47 +02:00
Christian Brabandt
fce8585239
main: detect some more modes
2018-09-20 10:13:59 +02:00
Christian Brabandt
326b37cf13
help: document tag airline#extensions#tabline#exclude_buffers
2018-09-20 10:13:59 +02:00
Christian Brabandt
1b8ecb6336
Merge pull request #1796 from flemingfleming/wordcount-improvements
...
[WIP] Rewrite wordcount plugin
2018-09-20 10:04:53 +02:00
Liam Fleming
0756b9a4aa
wordcount: Re-enable updating the format string
2018-09-18 20:12:17 +01:00
Christian Brabandt
251ed064e8
Make mode return only single letter except for virt replace mode
...
commit bcd37fc115 changed the detection of modes slightly in that it
allowed not only single letters but also several letters.
While in theory, it might be okay to have extra modes displayed like
Insert Completion or Normal Insert, or Operator Pending, let's for now
just revert it to the default. We can always enhance it later if
requested.
2018-09-18 20:00:46 +02:00
Liam Fleming
c33c1de079
wordcount: Simplify update strategy
...
Checking for wordcount changes now uses a b:changedtick comparison in
the statusline funcref. The autocommand strategy that used to do this is
removed, simplifying the code.
2018-09-18 16:05:01 +01:00
Liam Fleming
9903fee60e
wordcount: Optimise formatter calls, cleanup code
...
- Formatter is now only called when the wordcount changes
- ...#apply() now only compares against the filetype list when necessary
- Old format() function is no longer called for (unsupported) counting
of visual words
- Misc code quality improvements
2018-09-18 15:13:43 +01:00
Liam Fleming
487d262901
wordcount: formatter: code quality improvements
...
- Rename new formatting function: transform() -> to_string()
- Optimise separator selection
- Other quality improvements
2018-09-18 02:04:35 +01:00
Christian Brabandt
a1c112cafd
main: replace and virt replace mode should use same coloring
...
fixes #1794
2018-09-16 20:01:00 +02:00
Christian Brabandt
bcd37fc115
mode: add support for virt replace mode
...
fixes #1792
2018-09-16 18:25:27 +02:00
Christian Brabandt
aec0a1a15a
languageclient: Check severity key before accessing it
...
closes #1793
2018-09-16 18:17:04 +02:00
Christian Brabandt
da8035d8a8
Merge pull request #1789 from danielwe/master
...
Fix bug introduced in #1788 : Don't use the read-only `count` as local variable
2018-09-10 09:52:34 +02:00
Daniel Wennberg
cda5647a29
Don't use the read-only count as local variable
...
The variable name `count` is always equivalent to `v:count`, which is
a read-only variable and cannot be assigned to.
2018-09-09 23:51:11 -07:00
Christian Brabandt
f5676d1fa1
Merge pull request #1788 from hallettj/extension/languageclient
...
Extension to report errors and warnings from LanguageClient plugin
2018-09-10 07:36:15 +02:00
Jesse Hallett
a92b12e1c6
Implement extension to report errors and warnings from LanguageClient plugin
2018-09-09 23:53:08 -04:00
Christian Brabandt
d342c3cb1e
Merge pull request #1785 from smancill/conditional-vimtex-loading
...
Load vimtex only when the extension is enabled
2018-09-07 08:01:33 +02:00
Sebastián Mancilla
c3434164b2
Load vimtex only when the extension is enabled
...
Do not force loading the full vimtex autoload script for all users.
First check if the extension is enabled.
2018-09-06 13:15:38 -03:00
Liam Fleming
8715d13cc5
wordcount: Refactor updating and autocmds
...
Various improvements:
- Seperate out visual mode detection.
- Use TextChanged rather than CursorMoved where supported.
- Let users specify the filetypes for which wordcounting is enabled
with a list rather than a pattern.
- Move the filetype check to when airline is refreshed, as opposed to
on every update; autocommands are not created if wordcounting is
disabled
2018-07-28 19:26:24 +01:00
Liam Fleming
44da0a4761
wordcount: Replace formatter interface
...
Currently the formatter, and not the wordcount plugin, is responsible
for providing the wordcount as well as formatting it. The default
formatter allows visual mode word counting, although this is not
documented.
The new interface - a transform() function, allows the main wordcount
plugin to internalise this logic. Providing the wordcount simplifies
formatter implementations:
- All formatters can display the visual wordcount.
- Formatters do not have to worry about compatibility with different
vim versions.
The old format() function can now be deprecated, although the wordcount
plugin retains compatibility with formatters using it. The default
formatter will also be used as a fallback if no suitable function is
found.
The default formatter is rewritten to use the new interface.
2018-07-28 18:24:12 +01:00
Christian Brabandt
c7fb175d35
Add a specific color for commandline mode
...
closes #1768
Colors for the other themes need to be defined however
2018-07-26 10:22:40 +02:00
Christian Brabandt
59f3669a42
Merge pull request #1770 from shyun3/pullreq
...
Add vim-grepper extension
2018-07-24 19:16:22 +02:00
Mo Hyun
60eb44c94e
Fix build error
2018-07-23 14:27:59 -07:00
Mo Hyun
723987eca9
Add vim-grepper extension
...
- Displays a segment when a grepper search is running
2018-07-23 13:05:34 -07:00
Christian Brabandt
964f53a418
Merge pull request #1767 from tpope/fugitive-real-path
...
Update to new Fugitive real path API
2018-07-23 08:11:18 +02:00
Tim Pope
a8ccef61ba
Update to new Fugitive real path API
2018-07-22 15:39:54 -04:00
Christian Brabandt
4cc255a384
tests: Fix tabline tests
2018-07-13 22:35:05 +02:00
Christian Brabandt
eac10a104f
tests: add test for tabaline
2018-07-13 22:30:20 +02:00
Christian Brabandt
5aef1b90e5
tabline: Correctly trigger on BufDelete autocommand
...
fixes #399
2018-07-13 22:29:34 +02:00
Christian Brabandt
821372b9cf
tabline: re-map tabline keys
...
fixes #1753
2018-07-13 21:33:03 +02:00
Christian Brabandt
db45cdd994
Merge pull request #1759 from tpope/fugitive-path
...
Fixes for fugitiveline
2018-07-13 21:22:42 +02:00
Liam Fleming
781c40bb3d
Create AirlineModeChanged autocmd
2018-06-28 18:44:26 +01:00
Tim Pope
9bee0e923e
Use FugitivePath in fugitiveline if available
2018-06-27 18:07:59 -04:00
Tim Pope
66e49d9a15
Fix fugitiveline when file is also branch name
2018-06-27 18:05:09 -04:00
Christian Brabandt
b790fd2120
Merge pull request #1750 from Mangero/arduino-whitespace
...
Add Arduino to list of C-like languages
2018-06-18 08:39:53 +02:00
Christian Brabandt
c3a814dbae
Merge pull request #1749 from flemingfleming/autocmd-improvements
...
Autocmds: Move CursorMoved autocmd into the main augroup.
2018-06-18 08:39:17 +02:00
Mangero
a141918faa
Add Arduino to list of C-like languages
...
Add 'arduino' filetype to list of C-like languages. This is needed in
order to avoid mix-indent-file warnings when using hard tabs for
indentation in Arduino source files (*.ino, *.pde) containing top level
block comments with leading space before a '*'.
Similar to: 460ed02864
Original fix: 8fde76dd63
2018-06-18 01:09:56 +02:00
Liam Fleming
11bc0ba843
Move CursorMoved autocmd to main augroup
2018-06-16 20:34:07 +01:00
Christian Brabandt
45c9621157
Merge pull request #1744 from flemingfleming/fix-function-signatures
...
add "!" to function signatures
2018-06-13 20:06:17 +02:00
Liam Fleming
feca81fb86
add "!" to function signatures
2018-06-13 17:52:13 +01:00
Christian Brabandt
4f95970228
branch: use :noa before calling async func
...
for some reasons, calling async functions might cause an error, if a
SourcePre command has been defined. So explicitly call the functions
using `:noa` modifier to prevent triggering the SourcePre autocommand.
fixes #1742
2018-06-11 14:45:29 +02:00
Christian Brabandt
7d871137be
Correctly test for CompleteDone event
2018-06-09 10:50:25 +02:00
Christian Brabandt
6a05b92716
Merge pull request #1732 from shirohana/fix/integrate-with-ctrlspace
...
airline#extension#ctrlspace: Fix tabline didn't update when enable both buffers and tabs
2018-06-05 11:23:12 +02:00
Christian Brabandt
55716a1cc2
Remove wrong comment for TerminalOpen autocmd
2018-06-05 11:22:07 +02:00
Hana Shiro
acb93da0d8
Fix tabline didn't update when enable both buffers and tabs
2018-06-05 06:11:14 +08:00
Christian Brabandt
add75907d5
Merge pull request #1738 from shirohana/fix/ctrlspace-tabline-switching
...
airline#extensions#ctrlspace: Fix tabline didn't update when switch to tab which focused on non-listed buffer
2018-06-04 22:56:22 +02:00
Christian Brabandt
eab6d35852
terminal: Some improvements to Terminal detection
...
closes #1730
- Make sure to always call the term extension on TermOpen autocommands
- consistently use the airline_term highlighting group
- hard code the airline_term highlighting group, because by the time the
function airline#themes#patch() is called the highlighting group
airline_c would no be defined, so we cannot dynamically get those
attributes
- In the documentation, mention how the g:airline_mode_map can be set
including the terminal section
2018-06-04 22:44:46 +02:00
Christian Brabandt
1bb1ce594a
Formatter: Use pathshorten() instead of substitute()
...
The default formatter uses a hand-build regexp for shortening the path
in the tabline. However, since it uses the \w regex atom, this won't
match e.g. cyrillic letters.
To fix this, use the builtin pathshorten() function which does handle
this case correctly. For a test, use e.g. 'D/Учёба/t.c'
closes #1737
2018-06-04 21:59:16 +02:00
Christian Brabandt
044a90ed55
use get(v:, 'lang', '') instead of v:lang
...
closes #1735
2018-06-04 21:45:46 +02:00
Christian Brabandt
981b83003f
fugitive: Use FugitiveHead() instead of fugitive#head
...
function if possible and use it instead of the fugitive#head
(which will always autload the fugitive plugin).
2018-06-04 18:32:30 +02:00
Christian Brabandt
a1680cc36d
fugitive: Check for existence of FugitiveStatusline function
...
as per @tpopes advice.
2018-06-04 17:42:33 +02:00
Christian Brabandt
30a3c4f549
branch: fugitive renamed its functions
...
this caused that the branch extension was not correctly working anymore
because of a refactoring of fugitive tpope/vim-fugitive@5d11ff7
Solution: Move the existence check for the fugitive plugin into a
separate function and call it from there in all places that check the
fugitive plugin. Do the same for lawrencium and vcscommand check.
fixes #605 #1739
2018-06-04 17:38:49 +02:00
Hana Shiro
c7d4710f76
Refactor airline#extentions#tabline#ctrlspace#*
2018-06-02 23:41:15 +08:00
Hana Shiro
6e1e6686e7
Fix problems caused by #1524
2018-06-02 21:22:00 +08:00
Hana Shiro
a6e07b6a55
Remove unused catch block
2018-06-02 14:04:25 +08:00
Hana Shiro
4db6d11962
Fix indentation
2018-06-02 13:59:08 +08:00
Hana Shiro
ac799f6021
Rename parameters for better readability
2018-06-02 13:49:32 +08:00
Hana Shiro
92bf1b0b39
Use ternary-operator
2018-06-02 13:02:49 +08:00
Christian Brabandt
08570b6dcb
doc: fix wrong double quote by single quote
2018-05-25 11:37:57 +02:00
Christian Brabandt
64e925d675
doc: document notexists symbol correctly
...
fixes #1729
2018-05-25 11:36:54 +02:00
Christian Brabandt
315cf0deec
Merge pull request #1724 from lubomir/fix-doc
...
Fix documentation for syntastic format of warnings
2018-05-20 19:53:25 +02:00
Lubomír Sedlář
0f91e21710
Fix documentation for syntastic format of warnings
2018-05-17 10:34:04 +02:00
Christian Brabandt
02ffdfe0e5
Merge pull request #1722 from dkav/patch-1
...
Update README.md
2018-05-13 18:33:34 +02:00
Darren Kavanagh
a280ea4a18
Update README.md
...
Fix typo and grammar.
2018-05-12 18:59:29 -07:00
Christian Brabandt
a7b84f5b67
doc: fix tag airline#ignore_bufadd_pat
2018-05-11 22:36:44 +02:00
Christian Brabandt
b84e13f1d7
Blacklist startify for [noperm]
...
Startify unfortunately does not set the buftype option, so the
`[noperm]` would be shown, since the buffer is not really a file.
(see mhinz/vim-startify#324 )
So allow to blacklist startify from this setting. To do so, the logic
from the tabline extension was refactored out into a separate function
that returns true, if the buffer matches
`g:airline#extensions#tabline#ignore_bufadd_pat` and that function is
then reused for the readonly() function as well.
2018-05-11 22:32:20 +02:00
Christian Brabandt
c7e05efb76
Only consider regular files for the '[noperm]'
...
Recently, NERDTree added the &readonly setting to its buffer.
Unfortunately, this caused airline to render the '[noperm]' string in
it.
Fix this by only making the readonly check for buffers that actually
represent files (e.g. the buftype option is empty).
2018-05-11 09:53:55 +02:00
Christian Brabandt
5a065e8b82
Merge pull request #1717 from iroedius/disable-trailing-check
...
allow to also disable trailing whitespace check per filetype
2018-04-28 09:16:32 +02:00
iroedius
15bc732df4
allow to also disable trailing whitespace check per filetype
2018-04-28 07:34:59 +02:00
Christian Brabandt
33310c5b24
whitespace: Allow to disable individual whitespace checks per filetype
...
closes #1716
2018-04-27 08:25:49 +02:00
Stanislav Gobunov
c4a4a20b8d
xkblayout: Make Short codes configurable
...
airline#extensions#xkblayout#short_codes changed to global for easily redefine long named keyboard layout
closes #1713
2018-04-18 10:46:55 +02:00
Christian Brabandt
3ad4a18d85
xtabline doc: mention required tabline setting
2018-04-17 07:37:56 +02:00
Christian Brabandt
a76f523be5
bufferline: always add a space for the very first item
...
closes #1631
2018-04-15 10:16:28 +02:00
mg979
f7c818a0ff
add xtabline extension
2018-04-14 14:03:21 +02:00
Christian Brabandt
d9acbc53b0
Reset g_airline_gui_mode on setting termguicolors
...
fixes #1663 , should make sure that the separators are correctly
displayed even when setting 'termguicolors' later than expected.
2018-04-12 10:24:54 +02:00
Christian Brabandt
0df2c9b12e
Merge pull request #1700 from mox-mox/master
...
Add extension for vim-localsearch
2018-04-09 13:27:44 +02:00
mox
00f718691a
Adding localsearch extension (code and documentation). See https://github.com/mox-mox/vim-localsearch
2018-04-09 00:47:23 +02:00
Christian Brabandt
d66b507b02
Merge pull request #1683 from idbrii/add-custom-scm
...
Make branch detection customizable
2018-04-08 21:56:32 +02:00
David Briscoe
8209ca7da1
Make branch detection customizable
...
Instead of requiring each version control plugin to modify airline to
show the current branch, provide a customization function we can check
instead.
Following the example of airline_theme_patch_func, you define the
variable like so:
let g:airline#extensions#branch#custom_head = 'david#svn#get_branch'
Custom functions should cache their value. They may need an autocmd to
invalidate their cache:
" Use a buffer-unique group name to prevent clearing autocmds for other
" buffers.
exec 'augroup svndavid-'. bufnr("%")
au!
autocmd BufWinLeave <buffer> unlet! b:svndavid_branch
augroup END
This change lets me integrate with vc.vim (I couldn't get VCSCommand
working for svn) or write my own thing for perforce.
Additionally, always load whole file and check for existence.
Instead of determining up front whether various scm plugins are
installed, check for them on use so they can be added after this script
is sourced.
This also mitigates the problem of checking for existence of autoload
functions (which are not loaded by exist()). Since we're checking
root-level functions, they're likely to be loaded once we're using any
part of the plugin.
2018-04-06 09:40:17 -07:00
Christian Brabandt
902921931e
Simplify airline#init#gui_mode()
...
remove all the old code that is probably not used anymore
2018-04-06 02:21:20 +02:00
Christian Brabandt
ae394294c3
gutentags: output correct statusline message
...
fixes #1703
2018-04-06 02:14:10 +02:00
Christian Brabandt
bf3cc5ad9d
NerdTree: make the statusline configurable
...
Use the g:NerdTreeStatusline variable for configuring the
NerdTree statusline in the NerdTree window
closes #1705
2018-04-06 01:52:23 +02:00
Christian Brabandt
47bdae9067
Merge pull request #1702 from mrmr1993/fix-buffer-counts
...
Fix buffer numbering to start from 1 with buffer_idx_mode
2018-04-03 03:16:38 +02:00
Christian Brabandt
2876715b56
Merge pull request #1704 from gf3/jsformatter-typescript
...
Support typescript in jsformatter
2018-04-03 03:16:19 +02:00
Gianni Chiappetta
023fe122c5
Support typescript in jsformatter
2018-04-02 11:29:18 -04:00
mrmr1993
fbf96559c9
Fix buffer numbering to start from 1 with buffer_idx_mode
...
275ec4fe63 broke this so that numbering
started from 0 instead of 1 with
g:airline#extensions#tabline#buffer_idx_mode = 1
Specifically, I overlooked that |index| actually tracked the index of
the current buffer in the buffer list *starting from 1*, whereas I
assumed it tracked the true index (starting from 0).
2018-04-02 01:04:43 +01:00
Christian Brabandt
2ba64a88fd
Merge pull request #1691 from silenc3r/master
...
ALE: add option to disable line numbers
2018-04-01 14:13:29 +02:00
Christian Brabandt
f0b969549a
Merge pull request #1693 from mrmr1993/current-tabs-visible-experiments
...
Rework tabline for tabs and buffers
2018-04-01 14:01:17 +02:00
mrmr1993
47c36d2819
Don't let the current buffer be -1 when calculating the tabline
2018-04-01 01:17:18 +01:00
mrmr1993
aee733aa87
Don't show titles in the tabline if there aren't any
...
airline#extensions#tabline#buflist#list doesn't pick up some buffers
(most notably Netrw buffers), so there are sometimes no buffers to show
and the tabline code fails with an error. This avoids that situation.
It would be better to detect these and show titles for them, but for now
this restores the old behaviour.
2018-04-01 01:05:51 +01:00
mrmr1993
c75106f12d
Don't change remaining_space in tabline builder until necessary
2018-03-22 16:42:06 +00:00
mrmr1993
4b1913ad13
Use insert_section for overflow markers in tabline builder
2018-03-22 16:42:06 +00:00
mrmr1993
df2f380c9e
Add get_separator_change_with_end to tabline builder
2018-03-22 16:14:18 +00:00
Christian Brabandt
b9f55455fb
Revert "highlighter: Make the separators use a cterm background color"
...
This reverts commit e72a7e2c8d .
2018-03-20 15:30:02 +01:00
Christian Brabandt
d2ac3d5755
async: catch error when jobstart() fails
...
closes #1692
2018-03-20 14:01:46 +01:00
Christian Brabandt
e72a7e2c8d
highlighter: Make the separators use a cterm background color
...
should fix : #1663
2018-03-19 22:24:57 +01:00
mrmr1993
2528de7d81
Add comments to tabline/builder
2018-03-19 16:21:43 +00:00
mrmr1993
7396dc7a10
Create helper function tabline_evaluated_length
2018-03-19 15:05:50 +00:00
mrmr1993
51bb8dd7e0
Move strchars into util.vim
2018-03-19 15:03:51 +00:00
mrmr1993
5b7b9cf656
Rename remaining tab -> title in tabline/builder
2018-03-19 15:03:51 +00:00
mrmr1993
0b47adf087
Rename tab -> title in tabline/builder method names
2018-03-19 14:36:02 +00:00
mrmr1993
3914d5b475
Rename skipped_tabs_marker to overflow_marker
2018-03-19 14:36:02 +00:00
Christian Brabandt
ecff00a559
tabline: do not show buffer label if show_buffers is zero
...
fixes #1689
2018-03-19 15:06:55 +01:00
Dawid Zych
18f93ac96b
ALE: add option to disable line numbers
2018-03-19 11:28:45 +01:00
mrmr1993
75f53ef6e5
Rename last_{left,right}_group to {left,right}_group
2018-03-18 01:15:11 +00:00
mrmr1993
a2e0ed982f
Rename left{,_alt}_sep_size to {,alt_}sep_size
2018-03-18 01:13:30 +00:00
mrmr1993
84bf60c405
Statusline: Use separator widths to calculate whether a title will fit
2018-03-18 00:52:34 +00:00
mrmr1993
896c14bded
Reset _remaining_space if a title can't be inserted
...
This gives us a chance to add the title on the other side if it will
fit, so that we fill more space in the tabline.
2018-03-17 20:05:38 +00:00
Christian Brabandt
700c9b9740
tests: fix failing test
2018-03-15 22:09:02 +01:00
Ingo Heimbach
724beb0c73
Added a vim-gutentags extension
...
Added a segment that displays whether gutentags is running a ctags
instance.
2018-03-15 22:05:16 +01:00
Christian Brabandt
fb85c0a91a
Merge pull request #1678 from mg979/buflist
...
Changed buflist.vim algorithm
2018-03-15 21:52:35 +01:00
mrmr1993
d13305fc5d
Redraw buffer tabline when the terminal width changes
2018-03-15 20:44:51 +00:00
mrmr1993
7844d8bf72
Remove get_visible_buffers
2018-03-15 20:44:51 +00:00
mrmr1993
4a342afb90
Add an option to centre the active tab in the tabline
2018-03-15 20:44:51 +00:00
mrmr1993
275ec4fe63
Use tabline builder for buffers tabline
2018-03-15 20:44:51 +00:00
mrmr1993
d9e68039b8
Take the first tab number in tabline/builder.insert_tabs
2018-03-15 20:44:51 +00:00
mrmr1993
3cd8daa162
Add support for get_pretitle and get_posttitle to tabline builder
2018-03-15 20:44:51 +00:00
mrmr1993
e6b6f36d90
Remove %@...@ patterns in evaluate_tabline if has('tablineat')
2018-03-15 19:21:15 +00:00
mrmr1993
a7bff3b30b
Pass number of tabs as an argument to insert_tabs
2018-03-15 18:21:29 +00:00
mrmr1993
5ecc25d6d6
Move tab_nr_type into tabs get_title
2018-03-15 18:14:50 +00:00
mrmr1993
6db0af6f8d
Factor out tab insertion into its own function
2018-03-15 18:14:24 +00:00
mrmr1993
9b41fe5de9
Replace tabs tabline remaining_space with a member variable
2018-03-15 18:01:39 +00:00
mrmr1993
1328610188
Initialise tabs tabline builder variables in insert_tabs
2018-03-15 17:46:33 +00:00
mrmr1993
ada8cd7641
Use variables in the tabs tabline builder to track position
2018-03-15 17:41:08 +00:00
mrmr1993
349d01ba39
Generate tabs directly in tabline/builder.build
2018-03-15 17:38:19 +00:00
mrmr1993
3f87d28abb
Move insert_tabs into tabs tabline builder prototype
...
Also move evaluate_tabline and strchars methods that it uses
2018-03-15 17:05:58 +00:00
mrmr1993
71814fb19f
Add get_title and get_group to tabs tabline builder
2018-03-15 17:04:19 +00:00
mrmr1993
b99da65412
Create insert_tabs function on builder for tabs tabline
2018-03-15 16:58:04 +00:00
mrmr1993
6286b6d8d8
Move get_group into its own function for tabs
2018-03-15 16:58:04 +00:00
mrmr1993
5907d3909e
Add dedicated tabline builder
2018-03-15 16:38:36 +00:00
mrmr1993
57f2619c67
Remove unused variable b_tabline
2018-03-15 15:42:51 +00:00
mrmr1993
1837b2ee39
Use the size of the seperators to get the tabline's remaining space
2018-03-15 15:42:51 +00:00
mrmr1993
d3ec54d42e
Remove magic contant for skipped_tabs_marker in tabline calculation
2018-03-15 15:18:57 +00:00
mrmr1993
2b0fe51f99
Replace %= with empty string in evaluate_tabline
2018-03-15 14:36:39 +00:00
mrmr1993
a8f92cc68a
Rename skipped_tabs_marker to overflow_marker
...
This is set to g:airline_symbols.ellipsis, which this commit also adds.
2018-03-15 14:21:16 +00:00
Christian Brabandt
4237bfb052
branch: allow multibyte chars in shortening algorithm
...
previously, the branch extension used name[0:6], however that would
break with multibyte characters, since this is a byte index and not a
character index.
fixes #1686
2018-03-14 21:33:25 +01:00
mrmr1993
88dedb586a
Update tabs tabline when the width of the terminal changes
2018-03-14 15:25:03 +00:00
mrmr1993
5d2d764368
Use strchars to calculate string lengths
...
This also adds a compatability wrapper, so that versions older than
Vim 7.3 are supported.
This is inspired by, and includes s:strchars from, @ruipgpinheiro's
commit e2d1295a3d3708e8d2a5eb30cac840fc9520bb8b
2018-03-14 15:13:40 +00:00
mrmr1993
6819443d6a
Fix typo in evaluating %( %) rules
2018-03-14 15:07:41 +00:00
mrmr1993
980e78b4bf
Add configurable variable airline#extensions#tabline#skipped_tabs_marker
2018-03-14 15:07:32 +00:00
mrmr1993
7480245ebf
Calculate used length of tabs directly as they are added
2018-03-14 14:51:09 +00:00
mrmr1993
f93894f6ac
Move tab title generation into its own function
2018-03-14 13:55:30 +00:00
mrmr1993
e1a4cd764f
Adjust tab columns to allow for ellipsis and the left/right split
2018-03-13 00:57:48 +00:00
mrmr1993
d29c7b27fa
Evaluate tabline fragments to get the length of tab titles
2018-03-12 21:55:27 +00:00
mrmr1993
3305410982
Move tabline evaluation into its own function
2018-03-12 21:55:27 +00:00
mrmr1993
e0791cc1a0
Use the partially built tabline to calculate space left for tabs
2018-03-12 21:55:25 +00:00
mrmr1993
7a286639c5
Attach tabs to tabline last
2018-03-12 21:52:12 +00:00
mrmr1993
2711c73a47
Pass the available space for tabs as an argument to |get_visible_tabs|
2018-03-12 21:48:40 +00:00
mrmr1993
cf47d63f71
Fix formatting in clipped tab bar
2018-03-12 21:48:40 +00:00
mrmr1993
abd310bb31
Show current tab in the middle of the tabline
...
This is heavily based on 3cc1dcb697 ,
mostly by copying the get_visible_buffers function and making some
tweaks
2018-03-12 21:48:35 +00:00
mrmr1993
f60cf736db
Add a get_tabs function to abstract over tabs
2018-03-12 21:47:08 +00:00
mg979
26aa528c42
Made s:variables local
...
Moved small functions out of main function
2018-03-07 02:21:52 +01:00
Christian Brabandt
958f78335e
help: remove duplicate tag airline-bufferline
...
fixes #1681
2018-03-06 15:32:25 +01:00
Christian Brabandt
167602d5b9
tabline: get correct buffer name
...
When the uniq_tail formatter is used, the buffer name is not refreshed
when running through the duplicates. Fix that by getting the correct
buffer name again.
fixes #1680
2018-03-06 11:23:38 +01:00
Christian Brabandt
78c4438469
Merge pull request #1677 from Cimbali/master
...
Disable fugitiveline if bufferline is activated
2018-03-06 09:22:09 +01:00
Cimbali
9912ce13a4
Disable fugitiveline if bufferline is activated
...
This fixes the conflict of both plugins redifining the 'file' (or 'path')
function. Closes #1670 .
As fugitiveline modifies the path display and bufferline replaces it,
the latter should be the plugin to be used if both are activated.
2018-03-05 11:56:03 +01:00
mg979
63111e9810
Removed fnamemodify() in path check for buflist.vim
2018-03-04 00:31:25 +01:00
mg979
2e2a66c5a0
Restored old variable name for g:airline#extensions#tabline#excludes
...
Made check case sensitive
2018-03-03 23:53:10 +01:00
mg979
3ebbc57725
Changed buflist.vim algorithm
2018-03-03 23:39:14 +01:00
Christian Brabandt
55a9721c22
Merge pull request #1651 from srini-x/master
...
Changing 'airline_tablabel' text and colors back to old style
2018-02-14 09:49:31 +01:00
srini-x
7f1cfb0c3f
removing the hard-coded '[' and ']' around the tabline labels.
2018-02-13 17:48:21 -08:00
Christian Brabandt
85696f28a9
Merge pull request #1649 from CherryMan/master
...
tabline: fix tabline on :syn on
2018-02-10 20:50:58 +01:00
Christian Brabandt
e4968d7a40
Merge pull request #1660 from erfanio/fix_buffer_tabline
...
Fix white space in tabline when showing buffers
2018-02-10 20:49:47 +01:00
erfanio
8c634887bf
Fix white space in tabline when showing buffers
2018-02-08 19:02:35 -08:00
Christian Brabandt
c2ffb8b3ec
Merge pull request #1643 from ThomasFaivre/quickfix
...
quickfix: fix options initialization
2018-01-21 09:55:23 +01:00
Christian Brabandt
eb58badee2
Merge pull request #1647 from ThomasFaivre/get_mode
...
cursormode: allow custom mode names
2018-01-21 09:53:21 +01:00
Sheheryar Parvaz
8c1a7a5343
tabline: fix tabline on :syn on
...
better solution for #1590 . Previous solution refreshes airline
completely which is much slower.
2018-01-20 23:27:32 -05:00
Thomas Faivre
dec9b8e65c
cursormode: allow custom mode names
...
A new variable named cursormode_mode_func is used to store the function
returning the current mode. This allows more customization in the mapping.
The default value is the built-in mode function so there is no change in
behavior.
Add some documentation.
Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com >
2018-01-19 13:28:02 +01:00
Thomas Faivre
e5a51f9fca
quickfix: fix options initialization
...
Options default value is hard coded making them override user values.
Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com >
2018-01-18 18:21:56 +01:00
Bailey Ling
e02176aca1
update changelog for 0.9
2018-01-15 13:18:51 -05:00
Christian Brabandt
b7d3feb4d2
tabline: correctly refresh on :syn commands
...
fixes #1590 and #1638
2018-01-10 08:41:04 +01:00
Christian Brabandt
a3bdb10aea
Merge pull request #1634 from Cimbali/master
...
Fix over-caching of paths
2018-01-15 08:02:09 +01:00
Christian Brabandt
927c910af1
doc: Document, that the fugitive extension is needed
2018-01-10 08:14:48 +01:00
Cimbali
a104e40b10
Cache only git calls, not bufname and fnamemodify
2018-01-09 20:07:54 +01:00
Christian Brabandt
9a2ed35ff9
tabline: do not confuse Vim
...
looks like this:
```
let a=(condition ? s:var:'')
```
confuses older Vims and it complains about a missing colon. So make
parsing a bit easier and add a space in front of the second colon.
fixes #1629
2018-01-08 13:46:08 +01:00
Christian Brabandt
02816a3cb6
tabline: missing spaces
...
commit ab49a1c7ae changed that no leading whitespace was added.
While this removed a double space in front of the current active
selected buffer, it removed one space too much for the non-current
buffers in the bufferline.
So partly reverse it and only add the space, if the highlighting groups
between each item did not change.
2018-01-08 09:48:36 +01:00
Christian Brabandt
182675dc10
tabline: revert default buffer_idx_mode
...
commit 2e3cdeb unintentionally changed the default for the
buffer_idx_mode in the tabline.
Revert it back to be disabled by default
fixes #1628
2018-01-07 09:51:08 +01:00
Christian Brabandt
ab49a1c7ae
tabline: do not add extra space before buffer name
...
there was a space too much added in the tabline. Fix that
2018-01-05 22:13:47 +01:00
Christian Brabandt
5db4c408bd
Update copyright notifications
2018-01-05 10:37:59 +01:00
Christian Brabandt
6c4f3277f1
Add missing scriptencoding
2018-01-05 10:26:38 +01:00
Christian Brabandt
6cdcaf13b1
cursormode: disable by default
...
fixes #1625
2018-01-05 08:12:35 +01:00
Christian Brabandt
3a2323feac
branch: shorten default master for smaller windows
2018-01-05 08:12:10 +01:00
Christian Brabandt
c76019ac9e
Safety: Make sure g:airline_theme is defined before using it
...
fixes #1624
2018-01-04 23:54:12 +01:00
Christian Brabandt
a90ac37cb3
Changelog: slightly reorded items
2018-01-04 23:37:10 +01:00
Christian Brabandt
2ef81d4140
Changelog: Add links to the issues
2018-01-04 23:33:30 +01:00
Christian Brabandt
3b5f2bd470
async: Todo: Check if cwd option for Vim 8 is needed
2018-01-04 23:29:15 +01:00
Christian Brabandt
88130fd377
Updated Changelog
2018-01-04 23:27:05 +01:00
Michael Brailsford
7215a1fdd5
clarifying documentation
...
closes #1225
2018-01-04 21:31:16 +01:00
Eduardo Suarez-Santana
ebda798080
Cursormode integrated as extension
2018-01-04 21:24:27 +01:00
Christian Brabandt
c17ad9a123
Merge pull request #1426 from lynnard/master
...
Fix problems with AirlineSelect{Prev,Next}Tab
2018-01-04 21:15:00 +01:00
Christian Brabandt
73d8abff2f
Merge pull request #1617 from kyleholzinger/master
...
Add formatter for js files
2018-01-04 21:14:00 +01:00
Christian Brabandt
4d0233ebdb
plugin: correctly re-init on :syn-enable
...
should fix #1590 correctly
2018-01-04 21:09:26 +01:00
Christian Brabandt
d283a25e3f
tabline: only show buffer label, if they were drawn
...
closes #1558
2018-01-04 20:56:09 +01:00
Christian Brabandt
ce83c39bed
tabline: allow custom formatter for tabnr_type
...
closes #1418
2018-01-04 20:41:55 +01:00
Christian Brabandt
133a76d2d4
plugin: reset syntax highlighting on :syn off
...
hopefully fixes #1590
2018-01-04 20:07:15 +01:00
Christian Brabandt
c518f79aab
tabline: allow to show buffers label at start
2018-01-04 19:38:07 +01:00
Christian Brabandt
9d28f0dcc7
tabline: allow to show current buffer/tab at first position
...
This will make highlighting more consistent. Always first item is the
one where the cursor is.
2018-01-04 19:32:29 +01:00
Christian Brabandt
30652c05c4
tabline: correct order of tab/buffer labels
2018-01-04 19:09:02 +01:00
Christian Brabandt
90cf752c90
tabline: add separate highlight group for labels
2018-01-04 18:57:28 +01:00
Christian Brabandt
3b631ef0c4
tabline: refactor label function
2018-01-04 18:43:03 +01:00
Christian Brabandt
3985ece131
tabline: add [buffers]/[tabs] labels consistently
...
previously, when both tabs and buffers were displayed in the tabline, it
was not immediately obvious which side belongs to a buffer and which one
to a tab. Therefore, add [buffers]/[tabs] labels consistently.
2018-01-04 18:34:48 +01:00
Christian Brabandt
45878a7947
tabline: remove l: prefix of function variables
2018-01-04 18:29:51 +01:00
Christian Brabandt
503b9977fb
tabline: refactor s:variables
2018-01-04 18:20:25 +01:00
Christian Brabandt
69aa1e93b3
tabline: add more try/catch for mappings
...
similar to 2e3cdeb808 add a couple of more try catch statements
around the map_keys() function
2018-01-04 18:15:40 +01:00
Christian Brabandt
645f65d8d9
ctrlspace: wrong separator
...
under certains circumstances it could happen that for the vim-ctrlspace
tabline extension a tabline group was redefined which would cause a
separator having foreground and background color swapped. This was
caused by using the 'pos' parameter for the right side wrongly.
fixes #1559
2018-01-04 18:07:03 +01:00
Christian Brabandt
45236ba7c7
ctrlspace: refactor s:variables
2018-01-04 17:27:34 +01:00
Christian Brabandt
a25757ac64
tabline: Allow an alternate style for bufferlist
...
fixes #1608
2018-01-04 15:45:36 +01:00
Christian Brabandt
d78f686ce5
tabline: remove some more s:vars
2018-01-04 14:35:10 +01:00
Christian Brabandt
6ba65b2c8c
tabline: remove s:show_tab_type variable
2018-01-04 14:30:16 +01:00
Christian Brabandt
708c76e22c
tabline: do not cache s:buffer_idx_mode
2018-01-04 14:23:50 +01:00
Christian Brabandt
d03c3fa7b9
tabline: remove l: variable prefix
2018-01-04 14:20:36 +01:00
Christian Brabandt
72e457d8c2
tabline: remove static caching of s:vars
...
rather let them be defined whenever they are needed. They were only used
inside a single function anyhow, so it does not make sense to cache
them. In addition, having the user later change the variable won't work
as expected.
2018-01-04 14:11:13 +01:00
Christian Brabandt
2e3cdeb808
tabline: try/catch mapping of the keys
...
fixes #1621
2018-01-04 14:11:11 +01:00
Kyle Holzinger
66991f53fa
add to docs
2017-12-28 16:08:32 -05:00
Kyle Holzinger
a3d5e84417
Add formatter for js files
2017-12-28 15:43:13 -05:00
Christian Brabandt
c386332570
Merge pull request #1619 from tracyone/doc
...
doc: update ctrlp.vim url
2017-12-28 11:20:23 +01:00
Christian Brabandt
125d3443e4
Merge pull request #1620 from Cimbali/master
...
Cache file names in fugitiveline extension
2017-12-28 11:20:05 +01:00
Cimbali
18da5aa699
Separate updating and displaying branch information
...
This will cause any calls that are not just head() to be delayed and
cached whenever possible.
2017-12-26 22:30:23 +01:00
Cimbali
1ee057362d
Caching path simplified using fugitive
2017-12-26 22:30:23 +01:00
tracyone
450fa168ea
doc: update ctrlp.vim url
2017-12-25 21:27:55 +08:00
Cimbali
e0dd3d8125
Rename merge file names
...
Clearer names that reference the HEADs of git: FETCH_HEAD, ORIG_HEAD and
MERGE_HEAD, rather than the names that fugitive uses for them.
2017-12-23 15:05:59 +01:00
Christian Brabandt
bc985301db
Merge pull request #1603 from Cimbali/master
...
Improve fugitive integration
2017-12-21 09:09:44 +01:00
Christian Brabandt
6c8d0f5e6a
Merge pull request #1605 from EdwardBetts/patch-2
...
Correct spelling mistake.
2017-11-27 09:27:58 +01:00
Christian Brabandt
77ab703a55
Merge pull request #1604 from EdwardBetts/patch-1
...
Correct spelling mistake.
2017-11-27 09:27:40 +01:00
Edward Betts
3b304f36ae
Correct spelling mistake.
2017-11-25 21:14:31 +00:00
Edward Betts
7afc60af25
Correct spelling mistake.
2017-11-25 21:12:44 +00:00
Cimbali
e415c5301f
Trusting fugitive instead of tracking paths manually
...
The initial reason in #237 is not valid anymore, as vim-gitgutter
functions as expected for editing files that are not part of a repo,
whether they are:
- in a different repo
- in a parent repo (cwd being a submodule)
- outside of the repo
Furthermore, removing this check allows to show relevant info for
specific fugitive file names that are fugitive://..../sha1//...
which are hard to parse manually, especially in complicated situations
such as submodules.
2017-11-22 23:55:22 +01:00
Cimbali
8c4bf37588
Configurability: parametrizable sha1 length
2017-11-22 23:01:54 +01:00
Cimbali
33663d7df2
Show buffer name relative to git folder
2017-11-22 23:00:58 +01:00
Cimbali
009f7932fb
Show #branch#head() as "ref-or-sha1(current-branch)"
...
Only changes anything in the case of using fugitive to show a file that
is not from the current working directory.
2017-11-22 23:00:57 +01:00
Cimbali
f0093ceaa6
Remove code redundant with fugitive#head()
...
It which requires a path, and just performed the same as
fugitive#head() does internally.
2017-11-22 19:25:26 +01:00
Christian Brabandt
3e13bab201
Merge pull request #1600 from PratikBhusal/patch-1
...
Add function to show line number
2017-11-20 13:58:21 +01:00
Christian Brabandt
d719d0664a
Merge pull request #1602 from jreybert/dev/vimagit
...
vimagit: let vimagit itself returns the current mode
2017-11-20 13:57:42 +01:00
Jerome Reybert
640d6762f7
vimagit: let vimagit itself returns the current mode
...
If current vimagit version does not provide vimagit#get_current_mode(),
internal string version is kept.
2017-11-20 13:47:48 +01:00
Pratik Bhusal
58328b347c
Added function to show line number
...
The function shows the line number of the first error/warning that appears in the current buffer. If there are 20 warnings and the first warning exists on line 33, then vim-airline would show "W:20(L33)".
One can change how the line number is represented using: `g:airline#extensions#ale#open_lnum_symbol` and `airline#extensions#ale#close_lnum_symbol`
2017-11-18 14:24:47 -06:00
Christian Brabandt
4a1f65841c
README: mention how to use pack feature for install
...
fixes #1594
2017-11-15 08:06:17 +01:00
Christian Brabandt
1f84ad886c
README: still some problems
2017-11-15 07:58:22 +01:00
Christian Brabandt
c88dca5c96
README: still some problems with the table
...
(I hate markdown)
2017-11-15 07:54:50 +01:00
Christian Brabandt
dd368b3e31
README: one more fix for the table
2017-11-15 07:51:48 +01:00
Christian Brabandt
20a6fe2b9f
README: Fix table
2017-11-14 23:44:52 +01:00
Christian Brabandt
f3aae5f72b
README: show a screenshot and document what this plugin does
...
fixes #1589
2017-11-14 23:43:04 +01:00
Christian Brabandt
52ce640534
startup: remove workaround for skipping redraw
...
commit 7d082c03b2 added a workaround to skip
a few redraws on startup so that the intro message is not shown anymore.
However might cause problems, that some highlighting groups are not
correctly set. Also recent Vims (8.0.1290 and so on) do not seem to
suffer from the problem that an too early initializiation of airline
causes a redraw which skips the intro message.
Therefore, revert that commit.
Fixes #1585
2017-11-14 23:38:32 +01:00
Christian Brabandt
396cc92261
Merge pull request #1578 from ompugao/tabline_collapse_fname
...
collapse fname in tabline when using unique_tail formatter
2017-11-06 08:19:04 +01:00
Shohei Fujii
b044b4b204
collapse fname in tabline when using unique_tail formatter
2017-10-30 20:00:05 +09:00
Christian Brabandt
a1b7479b54
Merge pull request #1584 from Taikuh/wordcount_format
...
Add option to change wordcount display for the default formatter
2017-10-25 21:27:23 +02:00
Taikuh
ccc4c9f430
Add option to change wordcount display for the default formatter
2017-10-26 01:02:10 +08:00
Christian Brabandt
e72ec51e59
Merge pull request #1582 from 0x6a62/doc-typo
...
Fix typo
2017-10-23 08:57:57 +02:00
jb
78ca75af6e
Fix typo
2017-10-21 13:29:17 -04:00
Christian Brabandt
6e2a9e38cd
tabline: force redraw on BufAdd autocommands
...
closes #1580
2017-10-19 11:37:24 +02:00
Christian Brabandt
a5d9a4bcb2
Merge pull request #1577 from ompugao/skip_toggling_ctrlspace_if_not_installed
...
skip toggling ctrlspace tabline plugin when not installed
2017-10-16 10:57:20 +02:00
Shohei Fujii
7bf1d9b1fb
skip toggling ctrlspace tabline plugin
2017-10-16 17:33:40 +09:00
Christian Brabandt
27acd851a7
cleanup term extension
2017-09-27 20:28:18 +02:00
Christian Brabandt
0ad4f97c1a
Add a terminal statusline function for vim
2017-09-27 20:28:16 +02:00
Christian Brabandt
bd613e69b6
Merge pull request #1569 from yehuohan/master
...
Fix: Use the CS-symbol of ctrlspace which may be changed by user in ctrlspace-extension
2017-09-27 13:21:10 +02:00
yehuohan
4d645711e5
Fix: Use the CS-symbol of ctrlspace which may be change by user in ctrlspace-externsion
2017-09-27 16:17:50 +08:00
Christian Brabandt
031cb31056
branch: do not show errors for mq extensions
...
skip anything that matches abort
e.g. running hg qtop with Vims path outside of the repository returns
something like "abort: no repository found in ..."
in that case, do not show anything.
2017-09-22 21:39:17 +02:00
Christian Brabandt
9f186d899a
branch: mq patch not correctly displayed
...
also make the branch extension make use of the specific code to handle
the mq output
2017-09-22 21:37:28 +02:00
Christian Brabandt
cfb107c75f
Merge pull request #1564 from gidj/vcs-patch-fix
...
Use regex matching to prevent message from bubbling up
2017-09-18 19:54:38 +02:00
Gideon VanRiette
a763c6b53f
Catch trailing whitespace when matching output
2017-09-18 09:02:39 -05:00
Christian Brabandt
8a3e3e2794
mq: remove trailing \n from system()
...
fixes #1563
2017-09-14 11:43:53 +02:00
Christian Brabandt
ea46192561
README: remove laststatus section
...
closes #1560
2017-09-05 07:25:26 +02:00
Christian Brabandt
81f089322a
keymap: allow to disable extension by checking config var
...
closes #1556
2017-09-03 21:18:01 +02:00
Christian Brabandt
571f892fcd
README: mention how to fix performance problems
2017-09-01 12:01:43 +02:00
Christian Brabandt
cdaa5117b0
highlighter: also return bold flag
2017-09-01 11:25:37 +02:00
Christian Brabandt
e7a5c97df1
readonly: remove modifiable check
2017-09-01 09:19:39 +02:00
Christian Brabandt
9e3fcc4cdb
tagbar: only try loading the tagbar extension once
...
commit 232b641 did unfortunately disable tagbar completely, since
exists("*func") does not autoload the function.
So this time, try explicitly calling the function once, and if it does
not exists, it should be disabled and not cause any further errors.
closes #1555
2017-09-01 09:08:22 +02:00
Christian Brabandt
f0a508b121
async: nvim: use generic output handler
2017-08-30 13:15:55 +02:00
Christian Brabandt
942458f19b
async: include stderr output in job output (Nvim)
...
references #1551
2017-08-29 12:56:15 +02:00
Christian Brabandt
d3f8873469
async: fix error, when mq is not enabled
...
fixes #1551
2017-08-29 12:47:29 +02:00
Christian Brabandt
09ab45a2fb
async: add missing comma
...
fixes #1550
2017-08-29 11:53:20 +02:00
Christian Brabandt
195f2e1dae
keymap: fix missing keymap symbol, fix wrong condition
2017-08-27 21:29:40 +02:00
Christian Brabandt
97f3f84881
Merge pull request #1549 from doronbehar/fix-doc-syntax2
...
Small fixes to syntax in documentation.
2017-08-27 20:58:19 +02:00
Doron Behar
c07b28d199
Small fixes to syntax in documentation.
2017-08-27 16:40:01 +03:00
Christian Brabandt
3b225a1322
keymap: add some more missing parts, fix missing printf
2017-08-26 21:14:35 +02:00
Christian Brabandt
f430246aff
keymap: add missing part from #1546
2017-08-26 18:18:45 +02:00
Christian Brabandt
57cda93aad
keymap: fix the style
2017-08-26 18:14:08 +02:00
Doron Behar
89e484ac59
Add keymap extension which shows keymap setting.
2017-08-26 18:09:20 +02:00
Christian Brabandt
20de588fd1
Merge pull request #1547 from kaidiren/master
...
fix: refresh airline when airline_skip_empty_sections enabled in plugin in ale
2017-08-26 15:43:21 +02:00
kaidiren
2b45581f1c
fix: refresh airline when airline_skip_empty_sections enabled in plugin ale
2017-08-26 19:00:40 +08:00
Christian Brabandt
db907f5598
async: new function for validating directory
...
references #1544
2017-08-26 08:04:44 +02:00
Christian Brabandt
3e25ca5a5a
async: Check directory before starting the job (Neovim)
...
fixes #1544
2017-08-26 07:58:39 +02:00
Christian Brabandt
e357f88de6
async: define config variable for older vims
...
references #1542
2017-08-25 18:50:15 +02:00
Christian Brabandt
f4caf598fa
async: only use nvim functions, when actually using neovim
...
closes #1542
2017-08-25 16:48:45 +02:00
Christian Brabandt
42e5c82d64
Merge pull request #1535 from chrisbra/nvim_async
...
Improvement to async functionality
2017-08-25 14:37:47 +02:00
Christian Brabandt
5345c8fafa
denite: Check filetype in mode function
...
references #1540
2017-08-25 08:38:31 +02:00
Christian Brabandt
9bd2c40e7d
denite: remove FileType autocommand
...
closes #1540
2017-08-25 07:44:39 +02:00
Christian Brabandt
ab6acdee41
Merge pull request #1539 from icymind/master
...
add option 'keymap_ignored_filetypes' for tabline extensions
2017-08-24 18:15:18 +02:00
icymind
5df7d961bc
amend doc
2017-08-25 00:00:50 +08:00
icymind
b6a98bcd10
add option 'keymap_ignored_filetypes' for tabline extensions
2017-08-24 23:22:16 +08:00
Christian Brabandt
b77f326b33
async: rename variable
...
rename g:airline#init#async variable to g:airline#init#vim_async
because that is what it is for: showing whether vim supports async. Is
not set vor nvim, because nvim always supports jobs.
2017-08-23 18:38:19 +02:00
Christian Brabandt
06272275b5
fix po output not visible for nvim
...
Apparently, the output of msgfmt goes to stderr. So catch that one as
well.
2017-08-23 18:37:28 +02:00
Christian Brabandt
2c05a48a26
async: Add comments, better conditions to detect vim/nvim
2017-08-23 18:37:26 +02:00
Christian Brabandt
4c74a95045
Refactor async functions
...
- create a new async module
- refactor async functions from branch.vim and po.vim to async.vim
- support nvim async correctly
2017-08-23 18:37:24 +02:00
Christian Brabandt
50bfe8dd68
First commit to handle nvim specific async code
2017-08-23 18:31:43 +02:00
Christian Brabandt
a01d03a78a
branch: only do mq check once
...
but reset the check variable on Shell commands and when :AirlineRefresh
was called.
should make vim more performant
references #1536
2017-08-23 18:28:48 +02:00
Christian Brabandt
3ec22a524c
branch: comment why the argument is not used for update_hg_branch
2017-08-23 18:23:28 +02:00
Christian Brabandt
8cd7e35027
branch: correctly reset cache variables
2017-08-23 18:03:23 +02:00
Christian Brabandt
e553433430
branch: when mq is disabled, do not run hg qtop anymore
2017-08-23 18:01:41 +02:00
Christian Brabandt
5147d385a5
branch: cache filename path
...
fixes #1536
2017-08-23 17:56:57 +02:00
Christian Brabandt
232b6415d9
tagbar: do not error out, if autoloaded function does not exist
...
tagbar is not loaded if filetype plugin is off, so do not try to call a
non-existent function than.
2017-08-23 15:54:06 +02:00
Christian Brabandt
e8b6312dd9
Backout the wrong commit for checking async feature in nvim
...
fixes #1532
2017-08-21 22:22:19 +02:00
Christian Brabandt
04bc544db2
po: rename variable correctly and add g: prefix
2017-08-21 21:29:16 +02:00
Christian Brabandt
5fc5a43802
init: rename variable
2017-08-21 21:26:35 +02:00
Christian Brabandt
c2b2351d99
async: Better check for nvim
...
closes neovim/neovim#7186
2017-08-21 21:23:34 +02:00
Christian Brabandt
470e9870f1
highlighter: do not consider 0 to be empty
...
fixes #1531
2017-08-20 22:47:02 +02:00
Christian Brabandt
e5f9ccad8e
terminal: use mode() to detect terminal mode
...
workaround with index(term_list(), bufnr('')) > -1 not needed anymore,
since vim 8.0.936 will correctly return 't' for the mode() function in
the terminal.
2017-08-20 22:47:00 +02:00
Christian Brabandt
3535243c50
Merge pull request #1528 from doronbehar/fix-doc-syntax
...
Small fixes to syntax in help file.
2017-08-17 13:41:06 +02:00
Doron Behar
69ad039d07
Small fixes to syntax in help file.
2017-08-16 19:56:44 +03:00
Christian Brabandt
d8eb12845f
hunks: do not cache for changes plugin
2017-08-14 08:13:19 +02:00
Christian Brabandt
a8c4424244
highligthing: Enable cacheing only when config is set.
...
This enables the highlighting caching only when the variable
g:airline_highlighting_cache is set to 1
Should make airline faster and more performant, because we can save a
lot of expensive C core calls. However, when redefining highlighting
groups, it might not correctly reset the cache.
2017-08-14 08:06:53 +02:00
Christian Brabandt
6ee75bdbde
Fix failing tests
2017-08-11 12:55:44 +02:00
Christian Brabandt
a96681d459
highlighter: Cache syntax highlighting attributes
...
Should in theory improve performance by quiet a lot.
2017-08-11 11:26:35 +02:00
Christian Brabandt
e9a7a12d9e
highlighter: improve performance of get_array() function
2017-08-11 11:05:56 +02:00
Christian Brabandt
c65d7fe36b
highlighter: slight performance increase
...
do not access get() function twice. We can assign the result to a
variable and use it a second time. Should speed up the highligther part
of the code by a bit.
Since I was already touching s:Get(), also get rid of the default
parameter, as it always has been the empty string.
2017-08-11 10:46:03 +02:00
Christian Brabandt
96352f9b53
doc: fix typo
2017-08-08 16:03:11 +02:00
Christian Brabandt
2ec563bd57
syntastic: slightly tweak output format
...
also document how to use different syntastic statusline format
closes #1525
2017-08-08 14:57:04 +02:00
Christian Brabandt
83ceae726e
syntastic: display line number for errors/warnings
...
line number was omitted from 2e3055541e , so add it back
in parenthesis.
fixes #1525
2017-08-08 12:59:15 +02:00
Christian Brabandt
711f50a567
Merge pull request #1524 from tenfyzhong/master
...
Fixes #1515 . The tabline will no update when use ctrlspace together.
2017-08-08 09:34:11 +02:00
tenfy
c0695feb13
Fixes #1515 . The tabline will no update when use ctrlspace together.
...
Do not update tabline when the new buffer is no add to BufferList yes.
It will update by other event later.
2017-08-08 15:07:54 +08:00
Christian Brabandt
4e24036782
Merge pull request #1523 from rlue/hotfix
...
Hotfix: Autoswitch theme for colorschemes with funny casing (like PaperColor)
2017-08-07 07:46:19 +02:00
Ryan Lue
039fd6b50f
Fix airline#switch_matching_theme() to accommodate camelcased colorscheme names
2017-08-07 12:42:22 +08:00
Christian Brabandt
a2e20bc3ca
spell: Display spelling language
...
fixes : #1521
2017-08-01 19:25:20 +02:00
Christian Brabandt
0c307d5f73
Better way to check for terminal buffer
2017-07-30 18:57:05 +02:00
Christian Brabandt
d54613d2dd
Check for existence of term_list()
...
fixes #1518
2017-07-30 18:55:52 +02:00
Christian Brabandt
846d85aaa1
main: support for Vims terminal mode
...
Currently this is a hack, to get terminal mode from Vim.
However there is no better solution yet, since the API is not stable
here. Until then, just use the hack with
index(term_list(), bufnr('')) > -1
2017-07-30 09:51:23 +02:00
Christian Brabandt
72e5f04f7c
Merge pull request #1513 from rdnetto/master
...
Neomake integration: if loclist is empty, fallback to quickfix
2017-07-21 12:28:55 +02:00
Reuben D'Netto
e79188c3bd
Neomake integration: if loclist is empty, fallback to quickfix
2017-07-21 18:30:34 +10:00
Christian Brabandt
61c624ef6c
unicode: Update Unicode extension
...
do not draw the complete statusline in a bright yellow. This might hurt
your eyes
2017-07-19 12:57:18 +02:00
Christian Brabandt
e03afa1733
doc: linenr and maxlinenr are swapped in documentation
...
fixes #1507
2017-07-07 22:33:47 +02:00
Christian Brabandt
afcda0510e
Ale: Removing caching
...
fixes #1506
2017-07-06 12:14:49 +02:00
Christian Brabandt
b78c2ec475
Always enable airline by setting laststatus=2
...
Previously the user was expected to set 'laststatus' himself to 2 if he
wanted to have airline be shown by default.
However it doesn't make much sense to have airline installed but not
display the statusline. Therefore, set the 'laststatus' to 2, if it
isn't set to it already.
2017-07-02 20:42:32 +02:00
Christian Brabandt
4f43e5c93d
Merge pull request #1503 from d10n/git-hunk-empty
...
Fix git hunk status disappearance on CursorHold
2017-07-01 21:44:30 +02:00
Christian Brabandt
0205baa963
Merge pull request #1504 from d10n/fix-typo
...
Fix typo
2017-07-01 21:43:03 +02:00
d10n
b6eaa60a88
Fix typo
2017-07-01 12:11:27 -04:00
d10n
39c61288e8
Fix git hunk status disappearance on CursorHold
...
When using vim-gitgutter and fugitive:
The hunks extension and the branch extension work as expected when the
file is first loaded; both parts are added to the statusline.
Once the cursor is moved and stopped for &updatetime ms:
1. The branch extension clears b:airline_head on CursorHold
2. Somehow (?) airline#statusline gets called on CursorHold
3. The hunks extension returns '' when b:airline_head is empty, causing
the hunks to be removed from the statusline.
It doesn't make sense to clear airline_head just because the cursor
moved, and the commit message adding the line doesn't say why:
13297cee03
Commit 174b7e1962 relies on airline_head
being set.
Debug detail:
Executing CursorHold Auto commands for "*"
autocommand unlet! b:airline_head
[...]
continuing in CursorHold Auto commands for "*"
calling function airline#statusline(1)
[...]
line 1: return exists('*airline#extensions#branch#head') && empty(get(b:, 'airline_head', ''))
function airline#extensions#hunks#get_hunks[13]..<SNR>32_get_hunks[14]..<SNR>32_get_hunks_gitgutter[1]..<SNR>32_is_branch_empty returning #1
function airline#extensions#hunks#get_hunks[13]..<SNR>32_get_hunks[14]..<SNR>32_get_hunks_gitgutter returning ''
function airline#extensions#hunks#get_hunks[13]..<SNR>32_get_hunks returning ''
function airline#extensions#hunks#get_hunks returning ''
:au CursorHold
--- Auto-Commands ---
gitgutter CursorHold
* call gitgutter#process_buffer(bufnr(''), 1)
CursorHold
* unlet! b:airline_head
airline_whitespace CursorHold
* call <sid>ws_refresh()
------------------------
Sample vimrc:
set nocompatible
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | q | doautocmd WinEnter
endif
autocmd VimEnter *
\ if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | q
\| endif
call plug#begin('~/.vim/bundle/')
Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter'
call plug#end()
set laststatus=2
set updatetime=250
let g:airline_theme = 'dark'
2017-07-01 11:57:08 -04:00
Christian Brabandt
72ca1c344f
Merge pull request #1502 from DavidAntaramian/master
...
Fix misspelling of trailing_fmt
2017-07-01 07:18:02 +02:00
David Antaramian
42522f994a
Fixes typo introduced in a10d321
...
Commmit a10d321809 introduced a small typo
spelling a previously set variable `trailing_fmt` as `trailing_fm`. This
causes Vim to report `trailing_fm` as an undefined variable. In this
change, the variable is properly referenced as `trailing_fmt`.
2017-06-30 18:45:21 -04:00
Christian Brabandt
a10d321809
whitespace: move s:variables around
...
Will make sure, that even after setting the whitespace extension
variables, they are taken correctly into account.
2017-06-30 21:37:37 +02:00
Christian Brabandt
a914cfb754
backout b2f301f73c
...
Backout commit b2f301f73c
First of all, it caused flicker (which is caused by a Vim bug:
https://groups.google.com/d/msg/vim_dev/fdgPqmYZwOk/KJzR4l9wAwAJA )
and then the cache was not reset when editing a new file.
So let's just revert that commit, although it does affect performance.
fixes #1499
2017-06-28 21:10:57 +02:00
Christian Brabandt
313a6fcad2
tabline: prevent flicker on Windows
...
calling settabvar() while evaluating the 'tabline' setting apparently
causes flicker on Windows. Fall back to using `:let t:var` to store the
content in the current tabpage.
This is not as good as using `settabvar()` since we cannot store the
title for other tabs, but at least it should prevent the flicker and at
the same time at least cache the title for the current tabpage.
2017-06-27 18:28:28 +02:00
Christian Brabandt
825aec9e4d
Revert "highlight: skip processing the same hi group twice"
...
This reverts commit feee9bcf3c .
It brakes CI and shouldn't be needed
2017-06-27 14:44:49 +02:00
Christian Brabandt
62952b3887
tabline: only map keys if not done yet
...
Should improve performance by not steadily remapping keys
2017-06-27 14:44:03 +02:00
Christian Brabandt
b2f301f73c
tabline: Cache title as tablocal variable
2017-06-27 14:40:31 +02:00
Christian Brabandt
174b7e1962
hunks: Make hunk extension slightly faster
...
do not call airline#extensions#branch#head() but instead use the cached
variable b:airline_head.
Note: it looks like GitGutterGetHunkSummary() could need some cacheing
2017-06-27 14:16:28 +02:00
Christian Brabandt
6ab0098ced
Ale: Cache Warning and Errors
...
should provide some better performance
2017-06-27 13:52:48 +02:00
Christian Brabandt
feee9bcf3c
highlight: skip processing the same hi group twice
...
Shouldn't happen, but just in case skip creating highlighting group,
if the same group with the same attributes has already been defined.
2017-06-26 23:17:43 +02:00
Christian Brabandt
583ae3d5f9
highlighter: skip create hi groups for inactive mode if not needed
...
This will skip creation of highlighting groups, if there are no inactive
windows.
2017-06-26 22:30:48 +02:00
Christian Brabandt
560092a9ec
highligher: fix the comparison before redefining hi group
...
The comparison in airline#highlighter#exec() was there to prevent to
call out to too many :hi calls by making sure that the newly to be
defined highlighting group will be actually different from the current
existing one.
However, that did not work, as the returned old highlight
group did never match the newly to be created one, since it
intentionally left the cterm attributes out for the gui and the gui
attributes for the terminal.
Therefore, fix the comparasion and make it compare the actual values
that we have.
This should make vim-airline a bit faster (hopefully!)
2017-06-26 22:27:01 +02:00
Christian Brabandt
f86f1e8103
whitespace: Only refresh on changes to buffer
...
Should prevent too many redraws of Vim
2017-06-26 10:04:43 +02:00
Christian Brabandt
811360a095
Merge pull request #1497 from w0rp/update-ale-extension
...
Update the ALE extension
2017-06-26 09:56:32 +02:00
w0rp
c8a5efc11e
Update the ALE extension so it loads better and uses the new count format
2017-06-25 19:49:18 +01:00
Christian Brabandt
e7d18fe427
Updated README.md mention correct Vundle repo
2017-06-24 17:05:24 +02:00
Christian Brabandt
0a352c9f5b
branch: don't check untracked status for files in vcs dir
...
Currently, vim-airline will check untracked status for files e.g. living
in .git. So when editing .git/config it will show as being untracked.
While technically, this is correct I prefer not to see this for those
files. So skip the check for those files.
2017-06-24 14:03:40 +02:00
Christian Brabandt
ac032b752a
Fix missing backquote
2017-06-24 13:43:46 +02:00
Christian Brabandt
b101175683
Mention minpac installation
2017-06-24 13:42:13 +02:00
Christian Brabandt
fde2511201
Syntastic: remove unused variable
2017-06-22 09:47:01 +02:00
Christian Brabandt
57e564b227
Add termguicolor check for is_win32term
...
closes #1259
2017-06-21 15:44:58 +02:00
Christian Brabandt
7d082c03b2
Do not clear intro screen
...
if airline is initialized too early and some :hi commands are run,
this will force a redraw in Vim which will result in the intro screen
being cleared.
Currently, this does not work for gvim, not sure why.
closes #1476 (well only partly, until i have discovered, why for gvim it
doesn't work).
2017-06-21 13:21:13 +02:00
Christian Brabandt
87cdf8f6c4
highlighter: Make sure hi group exists and is valid
...
previously we only checked, that the group exists, however
if loading a new color scheme, this might lead to the group becoming
cleared. That means it still exists, but the highlighting group would
not show anything. Therefore, also check that the group is not cleared.
closes #1483
2017-06-21 09:19:51 +02:00
Christian Brabandt
52c0afadb9
Merge pull request #1413 from chrisbra/wordformat
...
Improvements to wordcount formatting
2017-06-20 23:31:15 +02:00
Christian Brabandt
258f3e5630
fix failing test by defining all default sections
...
previous commit 2e3055541e broke the unit tests, since it renamed
the syntastic section. Fix that and also test correctly the other
sections, that have been added (and which have not been tested until
now).
2017-06-20 22:38:56 +02:00
Christian Brabandt
2e3055541e
syntastic: distinguis errors and warnings
...
Currently the syntastic results are simply dumped into the error
section, however syntastic does internally distinguish between error and
warning sections.
Therefore change the syntastic extension to dump errors into the error
section and warnings into the warning section.
closes #1480
2017-06-20 22:26:22 +02:00
Christian Brabandt
d2b697d27b
ale ext: fix syntax error
2017-06-20 22:23:46 +02:00
Christian Brabandt
ed95adea1e
update doc: Mention and document ale/neomake extensions
2017-06-20 21:34:35 +02:00
Christian Brabandt
7f3d6287b5
ale ext: simplify logic
2017-06-20 21:20:24 +02:00
Christian Brabandt
1891933e59
branch: better display of branch for both hg and git
...
If a file is edited inside a git repository, which lies within a git
repository, the branch extensions shows 'gitmaster | hgdefault'
To make it more obvious, that we are looking into both repositories
here, use 'git:master | hg:default'
closes #1482
2017-06-20 17:47:07 +02:00
Christian Brabandt
9168b73411
update doc example, clarify how to truncate string
2017-06-20 14:14:09 +02:00
Christian Brabandt
c436592559
bufferline: take 'acd' into account
...
vim-airline does use a different section (path/file) depending on
whether 'acd' is set. Later in the bufferline extesion however, it
unconditionally overwrites the 'file' section, regardless of whether
this section is actually used.
Therefore the bufferline section needs to check this option as well.
fixes #1487
2017-06-20 13:58:39 +02:00
Christian Brabandt
e16ff7cc88
Do not error out, if a netrw variable is not defined
...
This should not happen, however being a bit more error tolerant
shouldn't hurt, so let's just fall back to 'normal' for the
g:netrw_sort_direction in case it is not defined (which should be the
default anyhow).
fixes #1492
2017-06-19 15:56:17 +02:00
Christian Brabandt
9eb51f48f4
Merge pull request #1489 from ozelentok/master
...
Improve denite extension performance
2017-06-12 21:11:41 +02:00
Oz Elentok
7865dc8149
Improve denite extension performance
2017-06-12 22:00:25 +03:00
Christian Brabandt
466198adc0
Merge pull request #1462 from maxfl/airline-vimtex
...
Add vimtex support
2017-05-08 12:10:38 +02:00
Maxim Gonchar
8e64138ef4
Add vimtex support
...
Indicates:
- whether the file is considered to be main or local
- whether the viewer is opened
- whether the compilation is running
- whether the compilation is continuous
Added:
* `vimtex` existence check
* variables documentation
TODO: readme and a screenshot
Update readme.md
Update doc
Update screenshot url
2017-05-08 13:07:13 +03:00
Christian Brabandt
d593359500
shorten filetype only when winwidth is < 90
2017-05-02 22:06:36 +02:00
Christian Brabandt
b3722b1e82
Merge pull request #1474 from mtn/readme
...
Add dein.vim to plugins-managers
2017-05-02 21:23:45 +02:00
Christian Brabandt
a950a2938a
shorten tagbar extension on short windows
2017-05-02 21:22:47 +02:00
Christian Brabandt
0c368681dd
Add some intro documentation
...
closes #1473
2017-05-02 20:43:08 +02:00
Michael Noronha
bcb52a1feb
Add dein.vim to plugins-managers
2017-05-02 12:58:52 -05:00
Christian Brabandt
13bd4701ed
Updates to the documentation
2017-04-21 07:41:22 +02:00
Christian Brabandt
4a47cd70cd
correctly check w:airline_skip_empty_sections var
2017-04-11 22:10:43 +02:00
Christian Brabandt
f76ede3b28
Make skip_empty variable overridable per window
...
The denite extension functions return the content of some buffer-local
variables. Those variables are not defined, the first time the they are
accessed and therefore, the statusline is not updated later when
g:airline_skip_empty_sections is set.
So disable this variable in this window, by setting the
w:airline_skip_empty_section=0 variable in the denite window.
closes #1454
2017-04-10 09:29:27 +02:00
Christian Brabandt
396b49be4c
Merge pull request #1455 from graysonwright/patch-1
...
[readme] Display install instructions in a table
2017-03-26 22:30:37 +02:00
Grayson Wright
e14f6579d7
[format] Display install instructions in a table
...
Previously, the instructions were displayed in a list without nesting,
and were hard to follow.
Since all the install commands are essentially one-liners,
a table makes it easy to look them up by package manager.
2017-03-26 13:19:09 -07:00
Christian Brabandt
b4ad02f906
fix wrong variable name
2017-03-20 08:56:35 +01:00
Christian Brabandt
703241942a
Add filetype to chache, disable cache for fugitive
...
#1452 (partly)
2017-03-20 08:37:48 +01:00
Christian Brabandt
7813a54912
Merge pull request #1449 from shivrai/master
...
Update icon spacings
2017-03-17 14:46:33 +01:00
Shivansh Rai
223624d3e9
Update icon spacings
...
The line numbers start to merge with icons when they get large
Reference: https://image.ibb.co/e7KGaa/airline.jpg
2017-03-17 19:08:47 +05:30
Christian Brabandt
3a23eeac42
Check that 'statusline' option is correct
...
statusline of quickfix window will be reset in the ftplugin of
$VIMRUNTIME, therefore check that airline is still active
fixes #1447
2017-03-17 12:03:19 +01:00
Christian Brabandt
b57022bfc2
update to the documentation
...
Mention, that the variable
g:airline#extensions#tabline#switch_buffers_and_tabs only works
with the ctrlspace integration.
closes #1390
2017-03-16 21:18:23 +01:00
Christian Brabandt
70dd0655d2
Do not trigger on SessionLoadPost autocommand
...
This basically reverts commit 64a3bfd
closes #1444
2017-03-16 13:15:17 +01:00
Christian Brabandt
46b0b6bf5a
Merge pull request #1427 from thatsmydoing/denite
...
Add support for denite
2017-03-15 10:06:19 +01:00
Thomas Dy
c9a0c62b1b
Add support for denite
2017-03-15 16:41:50 +08:00
Christian Brabandt
17d2db93fd
Check, that fg color can't be negative
2017-03-13 18:50:19 +01:00
Christian Brabandt
ba7d8c59f7
Call hg qtop with locale set to C
...
closes #1438
2017-03-13 09:49:02 +01:00
Christian Brabandt
d46fb524bd
Merge pull request #1439 from cxw42/master
...
Permit appending content to a theme copied from dark.vim
2017-03-13 07:39:07 +01:00
Chris White
fb6231b479
Permit appending content to a theme
...
When ctrlp is not loaded, do not finish (terminate script execution).
Instead, just skip assigning the ctrlp colors.
2017-03-12 18:16:26 -04:00
Christian Brabandt
134c0204f3
Do not return a negative background color
...
fixes #1429 and similar
2017-03-05 22:18:04 +01:00
Lingnan Dai
7f19896dc6
Fix problems with AirlineSelect{Prev,Next}Tab
...
Use the entire list of buffers instead of the currently visible ones
2017-02-28 15:56:37 +00:00
Christian Brabandt
fbd791e7f0
Merge pull request #1424 from tweekmonster/powerline
...
Fix g:airline_powerline_fonts check
2017-02-28 08:51:08 +01:00
Christian Brabandt
52663545a9
Only reset to Normal highlighting if it is actually defined
...
closes #1415 and similar
2017-02-28 08:33:44 +01:00
Tommy Allen
9876a0a2de
Fix g:airline_powerline_fonts check
2017-02-27 22:32:06 -05:00
Christian Brabandt
ac9e4092ef
Add paranthesis to function call in documentation
2017-02-26 10:49:52 +01:00
Alexey Zhikhartsev
3c6135d75f
Add a function to disable whitespace-detection
...
Useful to call for particular file types (e.g., .tex files):
ftplugin/tex.vim:
call airline#extensions#whitespace#disable()
2017-02-26 10:35:17 +01:00
Christian Brabandt
2ea22c1aaa
Also cache filetype
...
The cache currently prevents e.g. that the wordcount() extensions kicks in the
first time you open a help window. Therefore take the filetype into
consideration as well.
2017-02-26 10:30:02 +01:00
Christian Brabandt
9d89375b8f
Do not update wordcount on unknown buffers
2017-02-26 10:25:21 +01:00
Christian Brabandt
727a2b48d9
Rename wordcount update function
2017-02-26 10:24:08 +01:00
Christian Brabandt
7e6986651c
Fix stupid typo
2017-02-25 22:13:16 +01:00
Christian Brabandt
f8c85e3e53
for airline ascii symbols set g:airline_symbols_ascii
2017-02-25 17:39:32 +01:00
Christian Brabandt
d624a44500
Fix tests for the changed default separators
2017-02-24 22:49:39 +01:00
Jorrit Visser
078537f1e2
Add interface fallback (Powerline>Unicode>ASCII)
...
Basically what the title says. First check if the user has Powerline,
fall back to Unicode symbols if he doesn't and fall back to ASCII
symbols if he doesn't have that either.
2017-02-24 22:23:41 +01:00
Jorrit Visser
72478dee02
Make vim-airline pretty without Powerline
...
Vim-airline is not a looker without a Powerline font. This fixes that!
* Ugly separator symbols are hidden
* New branch (ᚠ), line (㏑), maxline (☰) and whitespace (☲) symbols
* Replace old whitespace (✹) symbol in Powerline with the new (☲) more logical one
2017-02-24 22:23:41 +01:00
Christian Brabandt
dd2740f510
Merge pull request #1408 from chrisbra/highlight_improvements
...
Highlight improvements
2017-02-24 18:32:25 +01:00
Christian Brabandt
db01efd508
Better reformat wordcount format in with separator
2017-02-24 18:28:48 +01:00
Christian Brabandt
b2bbe7dbc2
Small wordcount format output on windows < 80
2017-02-24 18:25:29 +01:00
Christian Brabandt
562d060b08
Reset wordcount cache on window size
...
so the format can make a better guess what to display on different
window sizes.
2017-02-24 18:24:30 +01:00
Christian Brabandt
d8b62aa426
Remove unused variable
2017-02-24 18:22:25 +01:00
Christian Brabandt
f1574c4e0a
define highlighting group, if it not exists
...
previously, it could have been skipped, if the old highlighting
attribute was the same as the current one. However, if the group does
not exist, it should still be defined
closes #1404
2017-02-20 21:30:10 +01:00
Christian Brabandt
69b132a6f4
Make sure, the highlighting group will be defined
...
If a color value of ['', '', 'NONE', 'NONE', ''] is given as value to
the highlighting group, the resulting group definition would look like
this:
hi Normal ctermfg=NONE ctermbg=NONE
which would result in the highlighting group being cleared (or even no
set at all), therefore check that at least one other value exists and if
not fall back to the highlighting definition of the Normal group.
2017-02-20 21:30:10 +01:00
Christian Brabandt
583121bbc9
before trying to return hi attributes, check the group exists
...
This prevents trying to access twice the highlighting groups
and should slightly speed up airline.
2017-02-20 21:29:37 +01:00
Christian Brabandt
b66c1ef070
Redraw statusline on CompleteDone event
...
closes #1402
2017-02-11 20:11:59 +01:00
Christian Brabandt
8a01eff1c2
Merge pull request #1396 from originalpositron/master
...
Truncation fix for whitespace extension
2017-02-07 14:48:02 +01:00
Jorrit Visser
8776a3e058
Truncation fix
...
Line numbers are now displayed before the error, instead of after, preventing truncation (and thus making the whitespace/indent section essentially useless in smaller terminals)
2017-02-07 14:20:56 +01:00
Christian Brabandt
7df411d59b
Add missing comma
...
fixes #1386
2017-01-27 12:10:07 +01:00
Christian Brabandt
1a79d148dc
do not add two bold accents to linenr and maxlinenr
2017-01-27 11:25:37 +01:00
Christian Brabandt
b56a064377
Use get() to access members of getwininfo() function
...
And add default value, in case the 'loclist' and 'quickfix' entry is not
available (can happen on versions without +quickfix feature).
Fixes #1379
2017-01-21 22:02:40 +01:00
Jerome Reybert
9a95964256
Fix typo in doc/airline.txt
...
Add tag for vim-airline
2017-01-19 15:15:05 +01:00
Christian Brabandt
e7e4769dc1
Merge pull request #1375 from jreybert/master
...
Add vimagit extension to display current mode
2017-01-19 15:09:00 +01:00
Jerome Reybert
a1db013d3f
Add vimagit extension
2017-01-19 14:02:53 +01:00
Christian Brabandt
92d3637384
Merge pull request #1376 from aisk/master
...
Remove .swp files and add it to gitignore
2017-01-19 08:58:42 +01:00
Long Ang
3a857617e3
Remove .swp files and add it to gitignore
2017-01-19 11:30:35 +08:00
Christian Brabandt
85cbdd8de3
Add link to xkblayout extension
2017-01-18 09:58:33 +01:00
Christian Brabandt
9b1770f246
hg extension did not work on Windows
...
remove extra file argument
closes #1367
2016-12-31 23:50:39 +01:00
Christian Brabandt
bfac656da9
Merge pull request #1372 from dalguji/master
...
Add vim-xkblayout extension to display keyboard layout
2017-01-18 08:00:52 +01:00
YoungHoon Rhiu
d60323d623
Add vim-xkblayout extension to display keyboard layout
2017-01-18 12:34:14 +09:00
Christian Brabandt
a2431f2adb
Check s:jobs dictionary before trying to remove jobid
...
fixes #1363
2016-12-29 11:22:55 +01:00
Christian Brabandt
e83ed24088
Merge pull request #1358 from chrisbra/1329
...
Add tab indicator for tabline when buffers are shown
2016-12-19 11:54:38 +01:00
Christian Brabandt
706cee277a
Add tab indicator for tabline when buffers are shown
...
closes #1329
2016-12-16 23:42:58 +01:00
Christian Brabandt
73a1238205
wrong quoting of condition
2016-12-14 16:10:33 +01:00
Christian Brabandt
a69834f7dc
Make fileformat output truncatable
...
closes #1309
2016-12-13 21:47:09 +01:00
Christian Brabandt
a0ea8db1fc
Make the wordcount ext more flexible for the def. filetypes
...
This allows the user to further adjust the
g:airline#extensions#wordcount#filetypes configuration variable even
after Vim has started up.
2016-12-13 21:27:53 +01:00
Christian Brabandt
5e2ef0cd83
document how to format the wordcount ext. output
2016-12-13 21:23:56 +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
Christian Brabandt
7cd7972bbe
cleanup unlet calls
...
Instead of looping through the list and unletting each value separately,
join the list and their names together and unlet them all together.
2016-12-13 20:28:30 +01:00
Hirokazu Hata
dfc0cb772a
Add dict to function refferencing self
...
This is no explicit problem in Vim, however Neovim diverged in this
behaviour from Vim and requires the dict attribute to be present before
accessing the self attribute.
See neovim/neovim#5763
2016-12-12 19:26:52 +01:00
Sam Fuller
7cb5c24151
prevent windows from closing on middle_click
...
Adding an option to prevent windows from being closed when a buffer in
the tabline is middle clicked and the clicked buffer is currently open
in a window.
When this option is enabled, instead of closing the window a new buffer
will be opened in all of the windows editing the clicked buffer instead.
This is my first pull request AND my first experience with vimscript, so
my apologies if this is a bit sloppy 😄
2016-12-09 13:20:48 +01:00
Christian Brabandt
781b4ea6a2
Merge pull request #1321 from chrisbra/getwininfo
...
Use getwininfo() for checking quickfix window
2016-12-09 12:59:46 +01:00
Nate Soares
17b6bd9c8f
Fixed bug where highlighting on inactive windows wouldn't refresh.
...
This seems to be an omission/regression from #afb75adc, where inactive
highlight updating was accidentally removed when fixing another bug.
Solution: Add back the deleted statement. closes #1339
Repro steps:
1. Install some theme that depends on the background color
(Soares/base16.nvim has a bunch)
2. `set background=dark` in your vimrc, and `colorscheme` one of the
aforementioned schemes.
3. Open a split window. Note the colors on the inactive window's airline.
4. `set background=light` manually. note the colors on the inactive
window's airline. Note how they have not updated. (In particular,
airline_c_inactive has updated, but all the other inactive groups
have not.)
5. Enter the inactive window. Exit the inactive window. Observe that the
colors are now correct (showing that it is in fact a problem with the
airline load_theme code, and not with the theme).
It seems strange that the code as written only expects
airline_c_inactive to have styling; perhaps there is some norm that
themes are supposed to handle inactive windows in a particular way? For
the record, my theme dis omething like this:
```
let s:IA1 = s:airlist('similar1', 'similar2')
let s:IA2 = s:airlist('similar1', 'similar2')
let s:IA3 = s:airlist('similar1', 'similar2')
let g:airline#themes#{s:palette}#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
let g:airline#themes#{s:palette}#palette.inactive.airline_warning = s:airlist('base', 'contrast3')
let g:airline#themes#{s:palette}#palette.inactive.airline_error = s:airlist('base', 'antibase')
```
2016-12-09 12:53:35 +01:00
Christian Brabandt
0357b4fcbe
Merge pull request #1348 from shaunbrady/exclude_at_runtime
...
Make ...#excludes|exclude_preview runtime configurable
2016-12-06 21:18:38 +01:00
Christian Brabandt
4c39344cc1
Merge pull request #1334 from chrisbra/worktrees
...
Add Worktrees support
2016-12-06 21:17:51 +01:00
Shaun Brady
718107c107
Make ...#excludes|exclude_preview runtime configurable
...
airline#extensions#tabline#excludes and
airline#extensions#tabline#exclude_preview previously had no impact if
changed after vim load. This fixes that.
2016-12-03 23:40:15 -05:00
Christian Brabandt
04be981de9
make ...#fnamemod configurable during runtime
...
airline#extensions#tabline#fnamemod would be initialized and could not
be changed during runtime, so fix that.
closes #1347
2016-12-02 13:40:34 +01:00
Christian Brabandt
ccdc3d6c60
Merge pull request #1337 from mhartington/master
...
feat(): allow for buffer index formatting
2016-11-26 14:26:47 +01:00
mhartington
ee8173e41d
feat(): allow for buffer index formatting
2016-11-25 12:36:55 -05:00
Christian Brabandt
53c8aa4fd6
enable wordcount for mail and tex filetypes
2016-11-24 15:20:38 +01:00
Christian Brabandt
b67509189b
check for correct variable
2016-11-23 16:35:01 +01:00
Christian Brabandt
d4a239f14a
Make airline aware of git worktrees
...
Currently vim-airline assumes, that the git_dir is part of the path for
the file being edited. This has changed, since git supports worktrees.
So take care of b:git_dir (which is set by fugitive) being a path
differently from the absolute path of the file being edited (however, it
should include the substring worktree in that case).
2016-11-23 16:33:12 +01:00
Christian Brabandt
3ebd7ad64b
Merge pull request #1331 from flatcap/master
...
Abbreviate the text for 'po' translation files.
2016-11-23 08:15:19 +01:00
Richard Russon
4e93a90441
Abbreviate the text for 'po' translation files.
...
A typical status line for a 'po' (Portable Object) translation file is:
1152 translated messages, 91 fuzzy translations, 42 untranslated messages.
Adding a substitute(), tidies this to:
1152 translated, 91 fuzzy, 42 untranslated
which is still informative, but less verbose.
2016-11-22 11:24:10 +00:00
Christian Brabandt
c02d774b05
Merge pull request #1327 from gregorias/nvim_git_issue
...
Do not forward v:shell_error on command fail.
2016-11-20 16:47:32 +01:00
Grzegorz Milka
241f324b39
Do not forward v:shell_error on command fail.
...
airline#system#util for nvim used to fall back to 'system' implementation on
command error. This behavior caused conflict with other plugins if 'util' was
executed with a failing command as part of a ShellCmdPost event.
This commit makes 'util' interpret command error as persistent and not call
'system' in such a case.
This commit fixes #1317 .
2016-11-20 10:16:13 +01:00
Christian Brabandt
cebfc9a64b
Use getwininfo() for checking quickfix window
...
Since Vim8 we have win_getid() and getwininfo() functions to get
information about the current window. So we can use those functions to
find out, whether the current window is a quickfix or location list
window.
This avoids using a redir() over the :ls command and trying to
manually match the string quickfix and should be faster and also be more
robust, as the redir may fail if done recursively.
fixes #1319
2016-11-16 20:14:27 +01:00
Christian Brabandt
2dae2b364e
Merge pull request #1314 from tbodt/patch-1
...
add vim-bufmru to the list of integrated plugins
2016-11-15 18:58:03 +01:00
Theodore Dubois
a314038280
add vim-bufmru to the list of integrated plugins
2016-11-05 09:16:03 -07:00
Christian Brabandt
258430db82
Merge pull request #1312 from gregorias/async
...
Use neovim's async job's instead of system
2016-11-04 21:22:32 +01:00
Grzegorz Milka
433d5d8f97
Use neovim's async job's instead of system
...
This commit makes branch.vim use neovim's async jobs instead of a system()
function. This way we avoid the v:shell_error overwrite bug and allow live
updates of the untracked status.
2016-11-04 19:09:05 +01:00
Christian Brabandt
545617f4f4
Merge pull request #1311 from watagashi/fix_lawrencium
...
Fix when using vim-lawrencium
2016-11-04 07:52:32 +01:00
WADA Takashi
e7056db27a
Fix when using vim-lawrencium
2016-11-04 10:54:39 +09:00
Grzegorz Milka
3899f848a7
Adapt data structures of branch.vim to async
...
* The head string is now calculated iff it has changed.
* The not exists symbol for current file appears as soon as its status is known.
* Fixes various problems with asynchronous status checking, such as:
* The not exists symbol keeps appearing and disapearing. This happened when
file was marked as not existing, the untracked cache was invalidated, and
the cache update is started, but in the meantime, the head string
calculation used the current (empty) value of the cache.
* The not exists symbol never appears, because cache keeps getting invalidated
before b:airline_head is emptied and updated.
closes #1306
2016-11-03 21:03:13 +01:00
Christian Brabandt
02ecb8631d
fix missing part of commit 3bd6cb5ee4
...
There was a part missing of #3bd6cb5ee4981227
add it back
2016-11-03 17:54:50 +01:00
Christian Brabandt
6dae3452db
Fix order of statements
...
Commit #3bd6cb5ee498 causes an error, because a variable was used
before it was declared. Fix this.
2016-11-03 17:26:32 +01:00
Grzegorz Milka
3bd6cb5ee4
Refactor branch.vim to avoid code duplication
...
* Introduce a config variable that holds the vcs-dependent parts of code.
* Removes `get_*_untracked` duplication by merging their logic together.
* Removes custom checks for 'git' or 'hg'. Functions now rely on provided config
argument.
* Use loops instead of manually specifying each handled VCS.
closes #1303
2016-11-03 17:19:17 +01:00
Christian Brabandt
b97d7a11f4
mention notexists symbol in documentation
2016-11-03 14:01:27 +01:00
Christian Brabandt
516870bf9f
Check for correct async condition
...
fixes #1308
2016-11-02 16:43:47 +01:00
Christian Brabandt
0ea4daa103
Merge pull request #1297 from chrisbra/mq
...
Add mq status for hg repositories
2016-10-26 20:47:45 +02:00
Christian Brabandt
98fe4eabd4
Merge pull request #1299 from gregorias/fix_git_untracked
...
Display not exists symbol correctly in Git repos
2016-10-26 20:47:28 +02:00
Grzegorz Milka
2af2bdb424
Display not exists symbol correctly in Git repos
...
This commit fixes a bug, where untracked files in Git repos did not get the not
exists symbol displayed. The fix works by replacing the previous check for
whether currently edited file is a directory or not with a check based on
`findfile`. More detailed explanation follows.
VCS extension to vim-airline checks whether currently edited file is untracked.
The previous `s:get_git_untracked` implementation, which was used for the
aforementioned purpose for Git repos, was buggy, because it did not return the
untracked symbol in most situations, i.e. the edited file is untracked, but it
was treated as if it wasn't.
The root cause was the second clause in boolean expression checking the output
of `git status`:
if output[0:1] is# '??' && output[3:-2] is? a:file
It was added to make sure we are not checking a directory, but at this point in
the program `a:file` is an absolute path, while output of `git status` is a
relative path from the root of git repo. So the `is?` expression failed in most
situations.
2016-10-25 19:26:44 +02:00
Christian Brabandt
5fe511c20b
Merge pull request #1298 from chrisbra/shorten_mode
...
Shorten mode message for small windows
2016-10-25 08:01:07 +02:00
Christian Brabandt
58e7e276fa
Merge pull request #1302 from chrisbra/loaded_extensions
...
guard against loading extensions twice
2016-10-25 08:00:25 +02:00
Christian Brabandt
6a155fabda
guard against loading extensions twice
...
fixes #1300
2016-10-24 12:14:30 +02:00
Christian Brabandt
69020706b2
Shorten mode message for small windows
2016-10-20 22:57:26 +02:00
Christian Brabandt
14ab47cae6
Add mq status for hg repositories
...
Now that we have async feature for Vim 8, we can add the output of 'hg
qtop' back to the statusline if it is supported
2016-10-20 22:46:24 +02:00
Christian Brabandt
64d91665fe
Merge pull request #1294 from asbhat/master
...
on_exit function fix if self.file is missing
2016-10-19 08:08:06 +02:00
Aditya
be6e3db68b
on_exit function fix if self.file is missing
2016-10-18 22:23:07 -04:00
Christian Brabandt
8964603844
fix missing declaration
2016-10-14 11:14:33 +02:00
Misha Brukman
2dc2748804
Remove Bitdeli as it's defunct.
2016-10-14 10:36:21 +02:00
Bjorn Neergaard
06351e86df
Add support for ALE, the Async Linting Engine
...
Ale is a plugin that lints text in the background, as you type!
It is new, but under [rapid development](https://github.com/w0rp/ale ).
2016-10-14 10:36:21 +02:00
Bjorn Neergaard
45e5c907be
Add support for flattened and NeoSolarized themes
...
These are forks/alternate versions of Solarized, without many of the
dynamic elements or the extensive terminal support.
[flattened](https://github.com/romainl/flattened ) is a basic, totally
static version of Solarized with only ansi and GUI support.
[NeoSolarized](https://github.com/iCyMind/NeoSolarized ) is a version
focusing on true/24-bit color support and NeoVim support, with limited
dynamic options.
[solarized8](https://github.com/lifepillar/vim-solarized8 ) is a version
focusing on vim/neovim true color support and limited dynamics. It is
already supported (`match()` matches it), but it is at least worth
noting.
Many users, including myself, use these themes over the original
Solarized for performance or technical reasons. Many users believe they
are incompatible with airline because automatic theming no longer
functions. While they can manually override the theme, most people seem
to miss this option in the documentation and give up.
It would be a nice quality of live improvement if airline detected these
themes and enabled its own Solarized theme automatically to match.
2016-10-14 10:36:21 +02:00
Christian Brabandt
4f8a16c31e
fixup for async feature
2016-10-14 10:36:21 +02:00
Christian Brabandt
81ccd3bdf6
po-extension: Make asyncable
2016-10-14 10:36:21 +02:00
Christian Brabandt
c39e5f82cc
check for existence of git/hg before calling them
2016-10-14 10:36:21 +02:00
Christian Brabandt
f706edee9f
init async global variables
2016-10-14 10:36:21 +02:00
Christian Brabandt
57ca6c9e78
include workaround from c1704a2de0
...
add workaround from commit c1704a2de0 to prevent overwriting
v:shell_error
2016-10-14 10:36:21 +02:00
Christian Brabandt
ffa3d59af2
branch ext: use async functions for system() commands
...
Make use of vim 8 async functionality and use it to get the vcs status
for the branch extension.
Won't work with neovim.
fixes #1266
2016-10-14 10:36:21 +02:00
Christian Brabandt
75a0199a7d
Merge pull request #1279 from bentomas/master
...
Fix whitespace symbol empty string has extra space
2016-10-07 09:04:39 +02:00
Benjamin Thomas
78439b2b35
Fix whitespace symbol empty string has extra space
...
This makes it so if the whitespace symbol (g:airline#extensions#whitespace#symbol) is an empty string, we don't end up wth two characters at the beginning of the message.
2016-10-02 01:22:50 -07:00
Christian Brabandt
2be9a044e0
Updated Issue template
2016-09-28 22:13:54 +02:00
Christian Brabandt
7a736021ee
Merge pull request #1276 from chrisbra/tabline_bug
...
do not skip empty sections for the tabline
2016-09-27 22:46:04 +02:00
Christian Brabandt
f5359f9177
do not skip empty sections for the tabline
...
commit #3d667c32d3ac04 fixed a bug, that a section was not considered
empty for the statusline, also g:airline_skip_empty was set.
However unfortunately, this lead to a regression, makeing the tabline
ugly, because sections, that contained a single highlighting group would
be considered empty and would therefore be skipped. Since this is not
what is expected, make s:section_is_empty() return zero, when it notices
we are looking at a tabline.
fixes #1273
2016-09-27 21:44:00 +02:00
Saad Malik
3c33251ee7
Support for neomake
...
Added support for neomake plugin; similar to syntastic.
Shows warning and error counts in the airline statusbar.
2016-09-27 21:21:35 +02:00
Christian Brabandt
1c052e39b1
Merge pull request #1271 from chrisbra/highlighter_bug
...
Use the correct highlighting for the inactive window
2016-09-26 21:13:02 +02:00
Christian Brabandt
29c556dba4
use correct groupname for inactive windows
...
airline_c (which contains the filename) usually is used together with
the buffer number, so that several windows showing the a different
buffer do not share the same highlighting group.
This was fixed in 73aea86a , but unfortunately it was forgotten to not
only add this to the current group, but also modify the previous group
accordingly. This is what this patch does.
fixes #1268
2016-09-26 21:12:15 +02:00
Christian Brabandt
5ee2cd9acf
Merge pull request #1269 from chrisbra/1231
...
for empty sections, make test return true
2016-09-25 20:25:08 +02:00
Christian Brabandt
3d667c32d3
for empty sections, make test return true
...
fixes #1231
2016-09-24 22:06:41 +02:00
Christian Brabandt
513afd25bc
Merge pull request #1263 from thawk/master
...
Set script encoding to avoid script parsing problem in non UTF-8 VIM
2016-09-24 21:55:50 +02:00
thawk
45d77ca909
Add 'scriptencoding utf-8' to all scripts
2016-09-24 08:16:30 +08:00
Christian Brabandt
c1704a2de0
Do not overwrite v:shell_overwrite after ShellCmdPost
...
Prevents resetting v:shell_error from the followin system() call in
get_git_untracked.
Fixes #1266
2016-09-23 16:11:53 +02:00
Christian Brabandt
73152217fb
Merge pull request #1265 from Robzz/per_buffer_whitespace_checks
...
Implement per buffer configuration of whitespace checks
2016-09-22 22:02:39 +02:00
R.Chavignat
da457ae5ea
Add support for b:airline_whitespace_checks variable and documentation
2016-09-22 14:27:07 +02:00
Christian Brabandt
7a720bbbd7
Merge pull request #1256 from chrisbra/1253
...
do not cache status of statusline per tabpage
2016-09-15 16:42:06 +02:00
Christian Brabandt
6e3c0c1c14
do not cache status of statusline per tabpage
...
When cacheing the values of buffer number, window number per tabpage, we
might forget to update the statusline when it is actually needed, e.g.
on `:tab help h | norm! gt` which would then still display "Help" also
we are not in a help window anymore.
Therefore cache those values (including current tabpage number)
globally.
fixes #1253
2016-09-14 19:05:57 +02:00
Christian Brabandt
65b9aa4856
Check for existence of key in context dict before using it
...
fixes #1251
2016-09-09 08:07:07 +02:00
Christian Brabandt
c058922358
do not use utf-8 chars, if encoding is different
...
fixes #1234 #1248
2016-09-08 21:33:39 +02:00
Christian Brabandt
afee79bbe0
Merge pull request #1250 from chrisbra/1233
...
Do not unconditionally modify airline_c_inactive
2016-09-08 21:30:20 +02:00
Simon Ratner
0b1df0c524
Add null accent, to allow accents to be removed
2016-09-08 21:24:04 +02:00
Christian Brabandt
73aea86a7a
Do not unconditionally modify airline_c_inactive
...
consider a window with these splits:
,----
| file1
| ---
| file2
| ---
| file1
`----
If the top buffer is the active one and you start modifying this buffer,
this will also reset the highlighting for the inactive buffer2, since
the highlighting group 'airline_c_inactive' is used for both windows
(one having the unmodified buffer 'file2' and one having the modified
'file1').
This lead to the incorrect highlighting of the buffer name of file2.
Airline basically already created different airline_c<bufnr>_inactive
highlighting groups, but unfortunately did not use them.
Therefore, make the builder aware of this and always append the buffer
number to the group 'airline_c' if it is in an inactive window.
2) we need to make sure, the highlighting won't get overwritten, so
make the highlighter aware of this situation as well, by appending the
buffer number to the group name, if it creates the 'inactive' mode
groups and a buffer number has been given.
this fixes #1233
2016-09-08 18:46:11 +02:00
Christian Brabandt
168b18ff0a
Merge pull request #1223 from chrisbra/fix_prepend_sep
...
don't add a second separator if not needed
2016-09-05 20:22:28 +02:00
Christian Brabandt
c0cb03f48b
don't add a second separator if not needed
...
Using let g:airline_section_y = airline#section#create_right(['ffenc','%{strftime("%H:%M")}'])
will result in an output string of `utf-8[unix] < < 00:00`
This happens, because the function util#prepend() will eventually add an
extra separator, if the width is zero. Therefore, when building the
string, remember, if the last section added an extra separator and only
add one, if there hasn't been added one before.
fixes #1220
2016-09-05 20:20:44 +02:00
Christian Brabandt
54e4772ef8
Merge pull request #1239 from chrisbra/1230
...
Do not cache gitgutter values
2016-09-05 19:32:24 +02:00
Christian Brabandt
5eaf658b9c
Merge pull request #1240 from chrisbra/1226
...
Add User autocommand for Theme changing
2016-09-05 19:32:13 +02:00
Christian Brabandt
f6155d11fb
Merge pull request #1242 from JulienPivard/correctionRefresh
...
`:AirlineRefresh` not work correctly
2016-09-05 19:31:54 +02:00
Ythildyr
afb75adc11
:AirlineRefresh not work correctly
...
If active buffer is modified, `:AirlineRefresh` apply `normal` highlight
instead of `normal_modified` highlight.
No particular config is requiered to reproduce this bug.
I see this bug with option `g:airline_skip_empty_sections` set.
Add any modification at the active buffer return to normal mode,
**do not save** and wait a few seconds, you can see highlight change to
normal but file is modified.
Without option `g:airline_skip_empty_sections`, add any modification at
the active buffer return to normal mode and type `:AirlineRefresh` you
can see change to bad highlight .
2016-08-28 14:41:45 +02:00
Christian Brabandt
ea98b42a0d
Note on adjusting statusline for syntastic
...
The syntastic plugin recommends to adjust the statusline.
This does not apply for vim-airline for obvious reasons. Therefore
mention that this recommendation does not apply for us.
2016-08-24 21:32:38 +02:00
Christian Brabandt
7612aaf701
Add User autocommand for Theme changing
...
fixes #1226
2016-08-24 21:27:49 +02:00
Christian Brabandt
43e3ef5428
Do not cache gitgutter values
...
fixes #1230
2016-08-24 21:22:28 +02:00
Christian Brabandt
d00f7b35d2
Merge pull request #1224 from S3RB31/master
...
Updated documentation
2016-08-03 21:57:36 +02:00
͏
36c7f5a2a3
Updated documentation
...
Added notice regarding issue #1219
2016-08-02 15:57:44 +02:00
Christian Brabandt
62fa44f8b3
Merge pull request #1217 from wcn3/master
...
Add Go to the list of C-like languages.
2016-07-26 19:21:33 +02:00
Bill Neubauer
460ed02864
Add Go to the list of C-like languages.
2016-07-26 10:06:40 +09:00
Christian Brabandt
4b5441a8f7
Merge pull request #1211 from JulienPivard/patch-1
...
Hunks not show in airline with signify and option g:airline#extension…
2016-07-25 10:00:48 +02:00
Julien Pivard
53dcd8a49c
Hunks won't appear if g:airline_skip_empty_sections = 1
2016-07-24 21:15:10 +02:00
Christian Brabandt
657cf773ad
Merge pull request #1206 from chrisbra/width
...
Cache hunk values, shorten for small windows
2016-07-24 10:08:40 +02:00
Christian Brabandt
797ad1ea79
Merge pull request #1207 from chrisbra/ctrlspace
...
Map keys in ctrlspace mode
2016-07-24 10:07:36 +02:00
Christian Brabandt
64188c395f
Merge pull request #1216 from chrisbra/skip_empty_sections
...
disable refresh function, if airline has been disabled
2016-07-24 10:01:20 +02:00
Christian Brabandt
62eb44a9d6
disable refresh function, if airline has been disabled
...
fixes #1213
2016-07-24 09:58:52 +02:00
Christian Brabandt
4d0c4f6b1e
Merge pull request #1197 from chrisbra/eclim
...
Cache eclim errorlist
2016-07-04 20:29:08 +02:00
Christian Brabandt
fdd29caef4
shorten filetype for smaller screens
2016-07-03 21:32:33 +02:00
Christian Brabandt
a6c04644ef
Map keys in ctrlspace mode
...
fixes #1181
2016-07-03 21:09:42 +02:00
Christian Brabandt
8fda614d0d
Cache hunk values, shorten for small windows
...
Cache the hunk values. In case of short windows, shorten the hunk string
a little bit and make the branch extension take the hunk value into
account when deciding how much to shorten it.
2016-07-03 20:44:05 +02:00
Christian Brabandt
a710cb99dd
Merge pull request #1205 from blueyed/fix-1204
...
tabline: do not change the signature of get_buffer_name
2016-07-02 20:19:47 +02:00
Daniel Hahler
63dc4ba2a4
tabline: do not change the signature of get_buffer_name
...
Thanks to @wsdjeg about notifying me in
https://github.com/vim-airline/vim-airline/commit/e1f7bf#commitcomment-18104843 .
Fixes: https://github.com/vim-airline/vim-airline/issues/1204 .
2016-07-02 16:24:47 +02:00
Christian Brabandt
e1f7bffe71
Merge pull request #1189 from blueyed/tabline-only-handle-visible-buffer-names
...
Tabline performance: only pass in visible buffers to formatters
2016-07-02 10:57:50 +02:00
Christian Brabandt
c6f5d8b823
Merge pull request #1202 from chrisbra/resolve_symlink
...
Try to resolve symlinks for git
2016-07-02 10:55:49 +02:00
Christian Brabandt
98b329daf1
Merge pull request #1203 from chrisbra/small_screen
...
small screen adjustments
2016-07-02 10:55:27 +02:00
Christian Brabandt
e715bce77b
Shorten section z in small windows
2016-07-02 10:20:19 +02:00
Christian Brabandt
409e8b0cbd
refactor shortening code
2016-07-02 10:20:07 +02:00
Christian Brabandt
5b00d54cd6
If window is too small, shorten branch name
2016-07-02 10:19:43 +02:00
Christian Brabandt
fadd737a29
Merge pull request #1201 from chrisbra/ycm
...
call YCM function only if they are defined
2016-07-01 11:54:09 +02:00
Christian Brabandt
ece61f346e
Try to resolve symlinks for git
2016-07-01 11:52:07 +02:00
Christian Brabandt
fbfea6daee
Merge pull request #1200 from chrisbra/width
...
limit whitespace check output for smaller screens
2016-07-01 11:17:16 +02:00
Christian Brabandt
39f046664d
Merge pull request #1196 from chrisbra/tabenter
...
Reset w:airline_active on TabEnter
2016-07-01 11:11:35 +02:00
Christian Brabandt
bc095bcde1
limit whitespace check output for smaller screens
...
Sometimes, if a buffer triggers many whitespace check warnings,
and the Vim window size is too small, other parts of the statusline
might become unreadable.
Therefore, if the window size is smaller than say 120 characters
and the whitespace warning > 9 chars, limit it to 10 characters
and inidicate, that there is more to come
2016-07-01 11:10:51 +02:00
Christian Brabandt
5c24c3c504
call YCM function only if they are defined
...
fixes #1187 by making sure, we only call functions, that actually exist.
Should make vim-airline work with lady loaded YCM, e.g. using vim-plug:
```viml
" Code to execute when the plugin is loaded on demand
Plug 'Valloric/YouCompleteMe', { 'for': 'cpp' }
autocmd! User YouCompleteMe if !has('vim_starting') | call youcompleteme#Enable() | endif
```
2016-06-24 11:49:53 +02:00
Christian Brabandt
72b316c871
Cache eclim errorlist
...
fixes #1193
2016-06-24 11:43:20 +02:00
Christian Brabandt
41df6668c7
Reset w:airline_active on TabEnter
...
fixes #1182
2016-06-23 18:09:01 +02:00
Daniel Hahler
8d681c7119
Tabline performance: only pass in visible buffers to formatters
...
This only passes in the list of visible buffers on that tab, which
reduces the processing a lot if you have a lot of buffers opened.
2016-06-17 15:07:55 +02:00
Christian Brabandt
7b9b68f15d
Merge pull request #1185 from blueyed/performance-highlight
...
Some minor performance fixes for the highlighter
2016-06-07 19:58:27 +02:00
Daniel Hahler
f51f73773d
airline#highlighter#exec: do not build cmd always
2016-06-06 20:41:33 +02:00
Daniel Hahler
429cfcd71e
minor: do not copy args in s:get_array
2016-06-06 20:40:51 +02:00
Christian Brabandt
6c8f33f192
Merge pull request #1183 from HarmtH/ctrlspace-clickbuf
...
update ctrlspace bufferline to use clickbuf()
2016-06-02 21:41:53 +02:00
Harm te Hennepe
74aacca55d
update ctrlspace bufferline to use clickbuf()
2016-06-02 16:00:00 +02:00
Christian Brabandt
64f06309b1
Merge pull request #1180 from ratijas/master
...
add obsession extension
2016-05-30 19:58:07 +02:00
ivan tkachenko
5a170c5ef0
add obsession extension
2016-05-30 03:44:39 +08:00
Christian Brabandt
4d39cb6f20
Merge pull request #1175 from chrisbra/1174
...
vim 7.3 does not allow getwinvar with 3 args
2016-05-22 21:37:10 +02:00
Christian Brabandt
985f3d3eca
b:airline_head sometimes undefined
...
Make sure, b:airline_head variable is set, also it is initially set in
this function earlier. But see #1171 for an error.
Therefore, before checking if the variable is empty, make sure it
exists.
fixes #1171
2016-05-22 21:29:00 +02:00
Christian Brabandt
83b6dd11a8
vim 7.3 does not allow getwinvar with 3 args
...
use airline#util#getwinvar instead, fixes #1174
2016-05-22 21:26:34 +02:00
Christian Brabandt
70c16f4c46
Reset mode when resizing
...
fixes #1156
2016-05-15 11:13:29 +02:00
Christian Brabandt
8d8d9afaef
Merge pull request #1170 from drmikehenry/master
...
Add the b:airline_whitespace_disabled feature.
2016-05-15 11:11:41 +02:00
Michael Henry
e67b2847ea
Add the b:airline_whitespace_disabled feature.
...
If the per-buffer variable b:airline_whitespace_disabled is defined
and non-zero, whitespace checking will be disabled for that buffer.
2016-05-14 15:56:48 -04:00
Christian Brabandt
ba94fa12b9
Merge pull request #1165 from chrisbra/1162
...
Add quickfix title to inactive statusline
2016-05-13 20:41:51 +02:00
Christian Brabandt
eef069d7bc
reset w:airline_active variable on TabEnter
...
fixes #1159
2016-05-13 14:41:31 +02:00
Christian Brabandt
99cd26cda4
Merge pull request #1166 from chrisbra/nomodeline
...
Use <nomodeline> if possible in :doautocmd
2016-05-13 11:24:29 +02:00
Christian Brabandt
46f854fc83
Use <nomodeline> if possible in :doautocmd
...
prevents closing of folds on CursorHold autocommand
when skip_empty sections is true
2016-05-13 11:22:12 +02:00
Christian Brabandt
bd4cb97e85
Add quickfix title to inactive statusline
...
fixes #1162
2016-05-13 10:08:54 +02:00
Christian Brabandt
0d05196426
Merge pull request #1160 from wsdjeg/master
...
Fix neovim true color support
2016-05-13 08:24:58 +02:00
Christian Brabandt
4ca34804b2
Merge pull request #1161 from chrisbra/1157
...
fix adding space padding to section caused by PR1157
2016-05-12 21:42:37 +02:00
Christian Brabandt
727208d766
Do not draw separators for empty sections
...
This is a little bit a hack, because by the time the separators are
added, it is not clear, if the following section is empty, therefore
we need to parse the content of the following section and eval the
expressions to find out, if this is empty
Remarks:
- catch all exceptions when eval'ing statusline
- make sure, that the seperators are highlighted
even when skipping empty regions (highlight group
names need to be adjusted)
- if a section is defined as empty, it will be removed completly from
the statusline. This means, it won't be called on the next update
and may not refresh properly (e.g. when the whitespace check
triggers, therefore, the whitesapce extension has to call an
explicit redraw whenever it is supposed to be refreshed)
2016-05-12 21:40:56 +02:00
Christian Brabandt
a4840f1585
fix adding space padding to section caused by PR1157
...
fixes #1158
2016-05-12 21:35:28 +02:00
wsdjeg
62dfab26de
Fix old version neovim support
2016-05-12 23:06:35 +08:00
wsdjeg
8171fcaf2e
Fix neovim true color support
2016-05-12 22:32:04 +08:00
Christian Brabandt
811e51575c
Merge pull request #1157 from cenk/padding
...
do not add padding to section name if empty
2016-05-10 22:58:53 +02:00
Cenk Alti
2d7f5b2cc1
do not add padding to section name if empty
2016-05-08 04:52:35 +03:00
Christian Brabandt
30f078daf5
Document g:airline_symbols.maxlinenr
2016-04-30 15:08:29 +02:00
Christian Brabandt
eaf2034163
Merge pull request #1148 from chrisbra/1131
...
Make sure the statusline option is correct
2016-04-29 09:18:41 +02:00
Christian Brabandt
cf5632bb94
Merge pull request #1152 from chrisbra/1146
...
Check that default value exists, before accessing it
2016-04-29 09:17:35 +02:00
Christian Brabandt
9bcb6ae64e
Merge pull request #1147 from hanxueluo/master
...
put file path in quotes when call "system()"
2016-04-29 09:12:42 +02:00
hanhuanle
a8dfdd40b7
shellescape file path when call "system()"
...
"system()" called by "get_git_untracked" and "get_hg_untracked" fails
sometimes. It reports error "Can't open file /tmp/***".
The root cause is that the file path for system() contains some unordinary
character and lacks quotes.
2016-04-28 23:14:32 +08:00
Christian Brabandt
64a3bfd439
Make sure the statusline option is correct
...
should fix #1131 completely, but literally comparing the
statusline option with the expected value
2016-04-28 07:17:44 +02:00
Christian Brabandt
d36085a5b0
Merge pull request #1145 from chrisbra/1144
...
call refresh function on window resize event
2016-04-27 21:29:02 +02:00
Christian Brabandt
9dfc4d0c04
Merge pull request #1136 from chrisbra/pr1103
...
add total line next to line number
2016-04-27 20:52:04 +02:00
oldratlee
ad3eee7e72
add total line next to line number
...
An alternative approach to PR1103
2016-04-27 20:49:49 +02:00
Christian Brabandt
057b429b02
Check that default value exists, before accessing it
...
closes #1146
2016-04-27 20:11:40 +02:00
Christian Brabandt
b91f729586
call refresh function on window resize event
...
fixes #1144
2016-04-26 21:05:03 +02:00
Christian Brabandt
81b58028f0
Merge pull request #1140 from chrisbra/1131
...
Check the value of the 'stl' setting on SessionLoadPost
2016-04-21 20:09:48 +02:00
Christian Brabandt
a5f7b9520a
Check the value of the 'stl' setting on SessionLoadPost
...
Restoring a session using vim -S with 'sessionopts' including options,
might overwrite the statusline function.
fixes #1131
2016-04-21 20:03:42 +02:00
Christian Brabandt
86e7d19df1
Merge pull request #1138 from chrisbra/1127
...
don't throw error if bufferline is not installed
2016-04-21 09:41:47 +02:00
Christian Brabandt
e1627d2144
Merge pull request #1139 from chrisbra/doc
...
Updated issue template
2016-04-21 09:41:11 +02:00
Christian Brabandt
1b9035cc51
Updated issue template
...
ask more terminal related questions
2016-04-21 09:40:37 +02:00
Christian Brabandt
b8c1b26f0e
don't throw error if bufferline is not installed
...
airline#extensions#load() tries to load all extensions,
the user has specified in g:airline_extensions.
However, if e.g. bufferline is requested to be loaded, but
is not installed, it will throw an error
E117: Unknown function: airline#extensions#bufferline#init
Therefore, catch E117 and show a warning.
closes #1127
2016-04-21 09:30:23 +02:00
Christian Brabandt
1e77e6cbcc
Merge pull request #1133 from blueyed/on_window_changed-only-once
...
Update each window only once in s:on_window_changed.
2016-04-20 21:31:52 +02:00
Christian Brabandt
39039aceb2
Merge pull request #1134 from blueyed/function-bang
...
Add bang to function definitions
2016-04-20 21:31:02 +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
Daniel Hahler
abcb3c4bb3
Update each window only once in s:on_window_changed.
...
We might come there several times for different autocommands.
The key uses bufnr/winnr and the number of total windows, and is stored
for the tab.
2016-04-20 21:06:04 +02:00
Christian Brabandt
95237f6604
Merge pull request #1132 from chrisbra/pr1110
...
Made c_like_langs customisable via g:airline#extenstions#c_like_langs
2016-04-20 20:46:04 +02:00
John Byrne
a5fab144aa
Made c_like_langs customisable via g:airline#extenstions#c_like_langs
2016-04-20 20:44:50 +02:00
Christian Brabandt
3f2247593a
Merge pull request #1117 from 987poiuytrewq/middle_click_buffers
...
Make middle clickable buffers (only Neovim)
2016-04-19 23:33:11 +02:00
Duncan Williams
0c251e20a7
Add middle click to close buffer functionality
...
Extended the left click to switch buffer functionality to also
support middle click to delete buffer
documentation of clickable buffers
2016-04-19 20:49:01 +01:00
Christian Brabandt
1bb8b6278e
Merge pull request #1119 from shanesmith/tabsOnLeftColour
...
Fix tabs theming
2016-04-12 09:15:35 +02:00
Shane Smith
a79e35b5e3
Fix tabs theming
2016-04-11 18:22:42 -04:00
Christian Brabandt
168dd7970a
Merge pull request #1116 from othrayte/java-mixed-indent
...
Add Java as an exception in mixed-indent-file
2016-04-07 16:30:57 +02:00
Adrian Cowan
066d936076
Add Java as an exception in mixed-indent-file
...
Java allows "/** */"-style comments; add it as an exception in mixed-indent-file.
2016-04-07 14:55:39 +10:00
Christian Brabandt
377010ea6e
Merge pull request #1105 from octurion/cuda-patch
...
Add CUDA as an exception in mixed-indent-file
2016-04-05 21:44:09 +02:00
Christian Brabandt
f402b78be9
Merge pull request #1113 from SevereOverfl0w/patch-1
...
Add asciidoc to default wordcount filetype
2016-04-05 21:43:22 +02:00
Dominic Monroe
8f83231078
Add asciidoc to default wordcount filetype
2016-04-05 13:14:48 +01:00
Alexandros Tasos
dba50e9eea
Add CUDA as an exception in mixed-indent-file
2016-03-24 23:53:13 +02:00
Christian Brabandt
842e562359
Merge pull request #1092 from tamul/mixed-indent-ld
...
extensions#whitespace: fix .ld mixed indent false positive
2016-03-23 15:09:05 +01:00
Christian Brabandt
5ee24f5d87
Merge pull request #1093 from wesQ3/windowswap-update
...
windowswap: use new tab-aware API if WS is up to date
2016-03-23 15:08:32 +01:00
Christian Brabandt
9afebc9233
Merge pull request #1097 from HarmtH/tablineat-for-ctrlspace
...
tablineat() support for ctrlspace tabline
2016-03-23 15:08:07 +01:00
Christian Brabandt
79899c76bf
Merge pull request #1101 from dterei/master
...
Add spell detection
2016-03-23 15:07:31 +01:00
Christian Brabandt
b2461f612e
Merge pull request #1102 from joshuarubin/patch-1
...
Add support for getting tab title from t:title
2016-03-23 14:56:29 +01:00
Joshua Rubin
73146e3e73
Add support for getting tab title from t:title
...
Uses `gettabvar` to get tab name.
2016-03-22 12:14:47 -06:00
David Terei
ae4a978509
Add spell detection
2016-03-21 23:52:04 -07:00
Harm te Hennepe
bc7aa0c812
tablineat() support with ctrlspace tabline
2016-03-19 17:38:53 +01:00
Wes Malone
582958d6c5
windowswap: use new tab-aware API if WS is current
2016-03-16 19:27:54 -05:00
Tayler Mulligan
c8048973cd
extensions#whitespace: fix .ld mixed indent false positive
...
Similar to #1065 and #1081 , adds link scripts to be excluded.
Adds a list containing C-like languages to ignore, which implement
multiline comments as:
/*
*
...
*/
Comment below filetype check reflects all exclusions (c-like)
2016-03-16 16:19:55 -07:00
Bailey Ling
410429a95c
update changelog for v0.8
2016-03-09 21:00:53 -05:00
Christian Brabandt
4395405628
Merge pull request #1081 from tnguyen14/master
...
extensions#whitespace: fix false positive for check_mix_indent_file() for JS file
2016-03-08 20:30:52 +01:00
Tri Nguyen
48423832d4
extensions#whitespace: fix false positive for check_mix_indent_file() for JS file
2016-03-07 22:22:07 -05:00
Christian Brabandt
e8cc5f8b84
Merge pull request #1076 from chrisbra/update_tabline
...
another approach for updating the bufferline on BufAdd
2016-03-07 19:55:10 +01:00
Christian Brabandt
1104639708
Merge pull request #1075 from chrisbra/po.vim
...
Enable po.vim integration
2016-03-02 18:48:58 +01:00
Christian Brabandt
d8d08ada7b
Make clickable buffers (only Neovim)
...
fixes #369
2016-03-02 18:47:09 +01:00
Christian Brabandt
f60a8cc7a3
another approach for updating the bufferline on BufAdd
2016-03-01 22:07:52 +01:00
Christian Brabandt
a45a96c881
Merge pull request #1063 from sappo/master
...
Various ctrlspace tabline improvements
2016-03-01 20:40:20 +01:00
Bailey Ling
ea32215b08
add github issue template
2016-03-01 12:42:46 -05:00
Christian Brabandt
f28a706020
Enable po.vim integration
...
fixes #1070
2016-02-29 22:38:39 +01:00
Christian Brabandt
4fa37e5e20
Merge pull request #1068 from kballard/colorscheme-to-theme
...
Fix colorscheme to theme matching
2016-02-28 13:06:32 +01:00
Kevin Ballard
4540ea428a
Fix colorscheme to theme matching
...
Fixes #1067 for real.
2016-02-27 11:22:30 -08:00
Christian Brabandt
a7eb735f2e
Fix typo
...
fixes #1067
2016-02-26 09:20:01 +01:00
Christian Brabandt
6c43fdea96
Merge pull request #1065 from nach/master
...
extensions#whitespace: fix false positive for check_mix_indent_file()
2016-02-26 14:41:36 +01:00
Frederic Chanal
8fde76dd63
extensions#whitespace: fix false positive for check_mix_indent_file()
...
This patch prevents check_mix_indent_file() form notifying a "mix-ident-file"
when working where C/CPP using space and comment like:
/**
* Some comment on the 1st column that shall not trigger check_indent_file()
*/
This kind of file can be found in linux kernel for example.
2016-02-26 14:29:51 +01:00
Christian Brabandt
23fb126322
Merge pull request #1057 from illicium/1055-buffer-highlight
...
Fix buffer modified highlighting being set from wrong buffer
2016-02-25 16:27:13 +01:00
Christian Brabandt
ff0f7df41f
Merge pull request #1059 from chrisbra/base16_tomorrow
...
Fix matching of themes to color names
2016-02-25 16:25:05 +01:00
Christian Brabandt
5d4ddeec10
Merge pull request #1062 from chrisbra/fix_1061
...
do not unconditionally use utf-8 encoding in branch exten
2016-02-25 12:00:50 +01:00
Kevin Sapper
ab948735be
Problem: Cannot disable tabs for ctrlspace tabline
...
Solution: Implement the show_tabs option which is used by the default
tabline.
2016-02-25 11:35:52 +01:00
Christian Brabandt
0bfae15d97
do not unconditionally use utf-8 encoding in branch exten
...
Check, that encoding is utf8 before using '…'
fixes #1061
2016-02-25 11:30:02 +01:00
Kevin Sapper
2f2797becb
Problem: Cannot disable displaying buffers for ctrlspace tabline
...
Solution: Implement the show_buffers option which is used by the default
airline tab as well.
2016-02-25 11:19:52 +01:00
Kevin Sapper
ad5194244b
Problem: Cannot switch position of tabs and buffers for ctrlspace
...
tabline
Solution: Add a new option which inverses the position of buffer and
tabs
If switch_buffer_and_tabs is 0 (default) buffer are on the left and tabs
on the right else if is 1 the order is reversed.
2016-02-25 11:03:50 +01:00
Christian Brabandt
5cf193fa28
Merge pull request #1058 from blueyed/fix-1054
...
parts#readonly: fix filereadable check with #1054
2016-02-25 08:18:49 +01:00
Christian Brabandt
78e1a2c8db
Fix matching of themes to color names
...
theme usually use '_' instead of '-', so replace that first before
trying to match.
Second, make the patterns easier to match.
Third, make sure, match for Tomorrow happens with matching case
fixes #1056
2016-02-25 08:07:51 +01:00
Daniel Hahler
595d270398
parts#readonly: fix filereadable check with #1054
2016-02-25 02:57:49 +01:00
Yegor Pomortsev
7453b5e15c
Fix buffer modified highlighting being set from wrong buffer
...
Fixes #1055 , cased by refactoring in e4ef624 (#952 )
2016-02-24 16:45:17 -08:00
Christian Brabandt
5ab8b754d8
Merge pull request #1054 from blueyed/file-noperm
...
Display [noperm] with modifiable, but not readable buffers
2016-02-24 22:26:53 +01:00
Daniel Hahler
0485b48dbb
Display [noperm] with modifiable, but not readable buffers
...
Based on: https://github.com/vim-airline/vim-airline/issues/633#issuecomment-174504456
Fixes: https://github.com/vim-airline/vim-airline/issues/633 .
2016-02-24 22:03:15 +01:00
Christian Brabandt
67f5a0ba20
Merge pull request #1050 from chrisbra/tabline_refresh
...
Disable tabline refresh per configuration
2016-02-24 19:12:29 +01:00
Christian Brabandt
7418df5583
Merge pull request #1052 from chrisbra/doc
...
document airline#extensions#tabline#show_splits
2016-02-23 21:41:17 +01:00
Christian Brabandt
67594b4da4
document airline#extensions#tabline#show_splits
2016-02-23 21:13:12 +01:00
Christian Brabandt
0e70dac030
Disable tabline refresh per configuration
...
fixes #1049 and should prevent that users see AirlineTabRefresh printed
on their screen.
2016-02-23 20:23:29 +01:00
Christian Brabandt
adbfda43f8
Merge pull request #1047 from rosston/fix-current-modified-buffer
...
Fix highlighting of current/modified buffer.
2016-02-23 12:05:56 +01:00
rosston
63f9abd3f2
Fix highlighting of current/modified buffer.
...
Fixes broken variable reference caused by e4ef624 (#952 ).
2016-02-22 23:07:27 -05:00
Christian Brabandt
cf9eebcc45
Merge pull request #1045 from sappo/master
...
Problem: Cannot rename the labels for buffers and tabs
2016-02-22 15:27:29 +01:00
Kevin Sapper
e7edb4c75a
Problem: Cannot rename the labels for buffers and tabs
...
Solution: Add an option for the user to configure those labels and make
the current values the default ones.
2016-02-22 08:30:20 +01:00
Bailey Ling
e6ab7bdf6d
show tabs on the left when in tabs mode, splits on the right ( #1043 )
2016-02-21 15:03:55 -05:00
Bailey Ling
8c080fdf80
Merge pull request #952 from chrisbra/buffer_line
...
Always display buffer list in tabline
2016-02-20 20:10:12 -05:00
Christian Brabandt
d0652caf69
Merge pull request #1041 from chrisbra/bubblegum
...
Match bubblegum theme to colorscheme
2016-02-19 12:57:20 +01:00
Christian Brabandt
20d3aae20f
Match bubblegum theme to colorscheme
2016-02-19 12:55:33 +01:00
Christian Brabandt
8af213d3f9
Merge pull request #816 from mildred/master
...
Make tabline compatible with bufmru
2016-02-17 07:42:42 +01:00
Christian Brabandt
8c7515aade
Merge pull request #1038 from chrisbra/better_warning_highlight
...
Revert term highlighting of airline_warning to orange
2016-02-16 23:36:50 +01:00
Christian Brabandt
7cfcc4871a
Revert term highlighting of airline_warning to orange
...
Highlighting was changed with commit 06f2cb5a89
Revert it to the old colors.
2016-02-16 23:32:38 +01:00
Shanti Bouchez-Mongardé
faa7a18242
Make tabline compatible with bufmru
2016-02-16 21:16:55 +01:00
Christian Brabandt
37231dac3a
Merge pull request #1034 from blueyed/fallback-to-NONE-in-get_syn
...
airline#highlighter: s:get_syn: fallback to 'NONE'
2016-02-16 20:49:28 +01:00
Christian Brabandt
13ea57b98a
Revert "Add mq patch to branch output"
...
This reverts commit 8023f6f5dc .
fixes #1035
2016-02-16 17:52:26 +01:00
Christian Brabandt
5e0b10c005
Revert "Only show hg qtop output, if branch is also shown"
...
This reverts commit da78d4a7bb ,
since it causes a massive performance impact.
fixes #1035
2016-02-16 17:48:57 +01:00
Bailey Ling
d632c88751
Merge pull request #1027 from chrisbra/hg
...
Add mq patch to branch output for hg
2016-02-15 22:13:04 -05:00
Daniel Hahler
d39076a07d
airline#highlighter: s:get_syn: fallback to 'NONE'
...
This is required when used with 'Normal' with a transparent background.
Falling back to 1 here results in "red" for "ctermbg"!
I think it's important to keep the 'NONE' color property here, instead
of hardcoding the fallbacks (even if white would be used instead of
red).
2016-02-16 00:44:07 +01:00
Christian Brabandt
a2f54ef6e6
add feedback from PR
2016-02-15 20:01:34 +01:00
Christian Brabandt
da78d4a7bb
Only show hg qtop output, if branch is also shown
2016-02-15 17:05:53 +01:00
Christian Brabandt
8023f6f5dc
Add mq patch to branch output
2016-02-11 22:44:12 +01:00
Christian Brabandt
2c5aa75d5f
update according to PR comments
2016-02-11 21:31:42 +01:00
Bailey Ling
e4ef624ea8
tabline for combined buffers/tabs
...
This is a new tabline extension, that displays both the buffers open and
the available tabs. This has been requested by #639 and fixes #639 .
This is based on blings work on branch spike.
This uses the new highlight groups tab*_right, so that the separators
have the correct color. Also this makes some configuration variable
obsolete and therefore, they have been removed.
remove unused combined config variable, remove space after tab
2016-02-10 20:22:35 +01:00
Christian Brabandt
1dc8eac3d2
Merge pull request #1023 from chrisbra/doc
...
slightly updated documentation (mostly formatting)
2016-02-10 20:03:15 +01:00
Christian Brabandt
651ad0a0c4
slightly updated documentation (mostly formatting)
2016-02-10 19:53:17 +01:00
Christian Brabandt
525144bf1c
Merge pull request #1019 from chrisbra/mixed_indent_check
...
Do not check for mixed whitespace in Makefiles
2016-02-09 20:48:07 +01:00
Christian Brabandt
1d072bf019
Do not check for mixed whitespace in Makefiles
...
Skip indent and mixed-indent-file check for Makefiles.
fixes #1017
2016-02-09 20:16:12 +01:00
Christian Brabandt
cc219dbc10
Merge pull request #1012 from chrisbra/performance
...
Some improvements for the buflist implementation
2016-02-09 19:43:46 +01:00
Christian Brabandt
31906ac7b2
Some improvements for the buflist implementation
...
This should make the buflist algorithm faster.
Also there is an alternative implementation in branch 535 available,
which avoids looping over the complete range, I'll stay with the current
approach, as it does not depend on BufAdd/BufDelete autocommands.
details:
instead of testing for buflisted() and bufexists() we only test for
buflisted() because, this also tests for the existence of the buffer.
Also instead of a second loop of the exclude patterns, we'll join all
of them together with '\|' and check if they match the current buffer.
The rest of the conditions have been joined into a single condition.
This together made up an improvement of
Orig:
FUNCTION airline#extensions#tabline#buflist#list()
Called 94 times
Total time: 0.267305
Self time: 0.267305
New:
FUNCTION airline#extensions#tabline#buflist#list()
Called 85 times
Total time: 0.124572
Self time: 0.124572
2016-02-09 19:41:17 +01:00
Werner Freund
447cf71ef2
Added visual mode word counting
2016-02-09 19:31:55 +01:00
Christian Brabandt
fb5ecd4703
Merge pull request #1018 from chrisbra/feedkeys
...
do not echo feedkeys() arguments
2016-02-09 19:30:45 +01:00
Bailey Ling
0ae3d36515
Merge pull request #1016 from sappo/master
...
Problem: ctrlspace integration not documented with a screenshot
2016-02-09 09:22:23 -05:00
Kevin Sapper
c1c1f7fc31
Problem: ctrlspace integration not documented with a screenshot
...
Solution: Add image from #1015 to README.md
2016-02-09 10:21:44 +01:00
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
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
Bailey Ling
3cd278ad08
add deprecation warning regarding themes #923 .
2016-01-27 22:46:57 -05:00
Bailey Ling
69587e1aa0
Merge pull request #839 from yeskeen/master
...
add cool theme
2016-01-27 22:17:59 -05:00
Bailey Ling
87e2e578b5
Merge pull request #865 from dlanileonardo/master
...
Base16 Theme for Terminal with 16 colors
2016-01-27 22:17:35 -05:00
Bailey Ling
2cf0ac1230
Merge pull request #937 from chrisbra/xtermlight
...
add xtermlight theme
2016-01-27 22:17:21 -05: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
Enrico Ghirardi
04f4b0f778
base16-theme: Revert changes for active statusline
2016-01-27 17:13:57 +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
Bailey Ling
c35fd1a068
Merge pull request #942 from chrisbra/hi_problem_758
...
Correct the comparison for given color codes
2016-01-25 09:31:28 -05: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
Bailey Ling
8fb92586ee
Merge pull request #938 from chrisbra/undefined_bold
...
Before using hlgroups make sure they exist
2016-01-23 13:50:38 -05:00
Bailey Ling
698db37591
Merge pull request #932 from chrisbra/updated-doc
...
clarify buffer_idx mode mappings
2016-01-23 13:47:17 -05: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
Bailey Ling
fb255b570d
Merge pull request #935 from chrisbra/bufadd_autocmd
...
update tabline on bufadd events
2016-01-22 09:14:14 -05: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
Dan Church
1d6ec383e4
Simplify logic on if statement
...
Referencing the same boolean multiple times in a logical statement is
probably not what was intended.
2016-01-21 10:46:36 -06: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
Daniel Hahler
c10a072b9e
base16 theme: use Normal/VertSplit for inactive statusline
2016-01-20 22:50:19 +01:00
Bailey Ling
17eff4f4b0
Merge pull request #931 from chrisbra/tabline-mappings
...
use silent flag for AirlineSelectTab mappings
2016-01-20 15:25:48 -05:00
Bailey Ling
b8278dc446
Merge pull request #930 from chrisbra/511
...
Make the virtualenv extension work better
2016-01-20 15:25:29 -05: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
Bailey Ling
348663f7f8
introduce contributing.md
2016-01-18 14:01:39 -05:00
Bailey Ling
44769aab3a
Merge pull request #925 from chrisbra/show_tabline
...
Check window size
2016-01-17 18:29:04 -05: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
Marco Hinz
d85d697b5f
Hunks: make s:source_func local to buffer
...
Prior to this change airline set the function for getting hunks only once,
which works as long as you don't use simlar plugins for different VCS at the
same time.
If that was the case, only one plugin would have won, depending on the first
buffer handled by these plugins. And although the code for the other plugin
was run every time, you would never see the actual line changes, since airline
didn't even bother checking.
Now these plugins can be used side-by-side in the same Vim instance, e.g.
gitgutter for, well, git and signify for the rest.
2016-01-15 13:05:01 +01:00
Christian Brabandt
17f5eaaa6a
use wordcount function if available
2016-01-15 12:55:23 +01:00
Bailey Ling
048b24a916
happy 2016!
2016-01-14 21:38:38 -05:00
Bailey Ling
2c613a1746
update maintainers list
2016-01-14 21:36:49 -05:00
Bailey Ling
e53a77b1e6
update readme about maintainers, update badge
2016-01-14 21:01:28 -05:00
Bailey Ling
004c4259a3
Merge pull request #920 from chrisbra/doc-wordcount
...
adjust default value for wordcount extension
2016-01-14 19:40:00 -05: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
Marco Hinz
ae2f3dc6e2
README: add vim-plug to installation section
2016-01-14 13:25:20 +01:00
Marco Hinz
79cdd75a0c
README: update URLs to reflect new repo location
2016-01-14 13:23:50 +01:00
Bailey Ling
ca6ab34e3c
Merge pull request #910 from chrisbra/fix_908
...
autochdir is only available with big builds
2016-01-05 22:19:30 -05:00
Christian Brabandt
c1fbea46bc
autochdir option is only available in big builds
2016-01-05 11:15:20 +01:00
Bailey Ling
0138313656
Merge pull request #905 from zandrmartin/master
...
fixed black fg in distinguished theme
2015-12-28 21:16:10 -05:00
Zandr Martin
0931311916
delete screenshot from repo
2015-12-28 17:11:04 -06:00
Zandr Martin
daafeed223
fixed black fg in distinguished theme
2015-12-28 14:47:16 -06:00
Bailey Ling
39810a33dd
Merge pull request #904 from zandrmartin/master
...
add distinguished theme
2015-12-28 15:10:41 -05:00
Bailey Ling
2fbdbc8893
Merge pull request #888 from ohcibi/feature/add-pathshorten-as-long-branch-name-option
...
Add `pathshorten` as a built-in format for long branch names
2015-12-28 14:56:02 -05:00
Bailey Ling
4791dcac02
Merge pull request #884 from yousong/dconf
...
init.vim: use %F in section_c if autochdir is set.
2015-12-28 14:51:20 -05:00
Bailey Ling
6a9eb4d915
Merge pull request #883 from somini/wordcount_autocmd
...
Change format of wordcount
2015-12-28 14:50:20 -05:00
Zandr Martin
4733a92e20
add distinguished theme
2015-12-28 11:39:29 -06:00
Bailey Ling
06f2cb5a89
Merge pull request #900 from heni/fix/ctrlp-link
...
Change ctrlp link to more correct repository
2015-12-25 10:31:00 -05:00
Eugene Krokhalev
a0c7e1538b
Change ctrlp link to more correct repository
2015-12-24 10:15:26 +03:00
Tobias Witt
b48e2390cb
Add pathshorten as a built-in format for long branch names
2015-11-19 11:03:54 +01:00
Yousong Zhou
18a19532ea
init.vim: use %F in section_c if autochdir is set.
...
The difference as per documentation of :statusline
f S Path to the file in the buffer, as typed or relative to current
directory.
F S Full path to the file in the buffer.
2015-11-11 12:03:28 +08:00
somini
e0841b10a7
Don't update the word count on select mode
...
Fixes #868
2015-11-10 20:20:53 +00:00
somini
1c498d1af3
Add format to the wordcount plugin
2015-11-10 20:11:20 +00:00
Dlani Mendes
6a14987276
Base16 True Pallete
2015-10-19 14:44:10 -02:00
Bailey Ling
14d14cf951
Merge pull request #872 from wilywampa/normal_cmd
...
Change normal command to normal! command
2015-10-18 14:00:34 -04:00
Jacob Niehus
a8d40a1bc3
Change normal command to normal! command
2015-10-16 15:22:53 -07:00
Bailey Ling
8c30610c5f
allow wordcount filetypes to be customized. resolves #864 .
2015-10-07 20:44:34 -04:00
Bailey Ling
2637e3ee58
fix error from expanding snippets. resolves #862
2015-10-06 14:44:19 -04:00
Bailey Ling
a253b68812
length guard before extracting the word count ( #861 )
2015-10-06 11:26:36 -04:00
Bailey Ling
e1ffd1cc30
Merge pull request #854 from kazuoteramoto/master
...
Add check for long lines to extensions#whitespace
2015-10-05 10:49:02 -04:00
Kazuo Teramoto
5c799511c9
Add check for long lines to extensions#whitespace
...
Check for lines > textwidth, disabled by default.
2015-10-05 11:40:55 -03:00
Bailey Ling
e59c3ecd6e
add wordcount extension
...
resolves #761
2015-10-05 10:18:14 -04:00
Bailey Ling
bb4be0095d
add info about theme pull requests
2015-10-05 09:13:57 -04:00
Bailey Ling
543438e482
Merge pull request #844 from actionless/add-term-theme
...
add 'term' colorschheme
2015-10-05 09:04:42 -04:00
Bailey Ling
8f42044cc9
Merge pull request #822 from thblt/master
...
Improved documentation on formatters
2015-10-05 08:57:41 -04:00
Bailey Ling
b7a2159128
Merge pull request #815 from chrisbra/disabled
...
fix disabled bug
2015-10-05 08:51:56 -04:00
Bailey Ling
4b4c70308a
Merge pull request #838 from RsrchBoy/topic/capslock
...
Fix vim-capslock functionality after changes in CapsLockStatusline()
2015-10-05 08:38:49 -04:00
Bailey Ling
2659eafa3a
Merge pull request #856 from poppyschmo/bufsweep
...
Sweep tabline of unlisted buffers on BufLeave
2015-10-05 08:30:53 -04:00
Bailey Ling
cc23d65af7
Merge pull request #832 from oblique/update_behelit
...
behelit theme: Add color for insert_paste warning
2015-10-05 08:28:55 -04:00
poppyschmo
a58b3cba55
Sweep tabline of unlisted buffers on each BufLeave
2015-09-25 14:11:07 -07:00
actionless
2efa4c0815
add 'term' colorschheme
2015-08-27 19:06:15 +02:00
no-name
3db2b66587
add cool theme
2015-08-20 12:14:50 +08:00
Chris Weyl
022c769494
Fix vim-capslock functionality after changes in CapsLockStatusline()
...
CapsLockStatusline() used to return '[caps]' when soft-capslock was
on... and now returns '[Caps]'. As we're just using this to test for
the lock, we lower-case the return value in order to "normalize" the
value across versions.
The change in behaviour can be seen at:
tpope/vim-capslock@3a0f051373
2015-08-19 15:51:09 -07:00
oblique
4bfb57f40d
behelit theme: Add color for insert_paste warning
2015-08-11 19:40:04 +03:00
Thibault
92c2ac1c14
Improved documentation on formatters
...
Explains how unique_tail and unique_tail_improved delegate formatting of already-unique filenames to default.
2015-07-16 18:45:59 +02:00
Christian Brabandt
c761566dcf
fix disabled bug
2015-07-10 21:12:30 +02:00
Bailey Ling
cdc6d98a09
Merge pull request #788 from toupeira/patch-1
...
Remove trailing slashes in unique_tail formatter
2015-07-08 22:28:28 -04:00
Bailey Ling
3942ce6790
Merge pull request #797 from cHoco/master
...
Tabline: add exclude_preview option to hide preview buffer
2015-07-08 22:22:39 -04:00
Enrico Ghirardi
317e5fa47a
Tabline: add exclude_preview option to hide preview buffer
2015-06-28 22:34:37 +02:00
Bailey Ling
78566c37ae
Merge pull request #796 from jusga/typos
...
Fix typos in the documentation
2015-06-28 13:32:49 -04:00
Bailey Ling
9afda181dd
Merge pull request #803 from oblique/master
...
Add behelit theme
2015-06-26 10:34:58 -04:00
oblique
373b83ee58
Add behelit theme
2015-06-25 13:36:18 +03:00
Justin Gassner
efa8edf3ae
Fix typos in the documentation
2015-06-14 00:41:36 +02:00
Bailey Ling
b29e01fa22
nr2char only takes 1 parameter in 7.3
...
addresses regression with #791
2015-06-09 22:08:49 -04:00
Bailey Ling
22b43c909a
Merge pull request #791 from 0x0dea/simpler_crypt
...
Simplify crypt indicator generation
2015-06-09 17:01:12 -04:00
Bailey Ling
a5a88ce662
Merge pull request #784 from NLKNguyen/papercolor_theme
...
Add papercolor theme
2015-06-09 16:04:26 -04:00
Bailey Ling
14759c1b57
Merge pull request #794 from hpurmann/fix_nvim_key
...
Add checks for existing key to make #786 work in neovim
2015-06-09 16:00:30 -04:00
Hendrik Purmann
a0110e13bd
Add checks for existing key to make #786 work in neovim
2015-06-09 18:19:16 +02:00
D.E. Akers
9837c1e7c8
Simplify crypt indicator generation
...
nr2char() is a much simpler way to obtain UTF-8 codepoints beyond 0xFFFF.
2015-06-09 10:04:10 -04:00
Bailey Ling
540c148d31
Merge pull request #786 from chrisbra/crypt
...
Add crypt indicator
2015-06-09 08:46:06 -04:00
Markus Koller
312f847e73
Remove trailing slashes when getting path tail
2015-06-04 18:14:06 +03: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
Nguyen Nguyen
7acfcc9aed
Add papercolor theme
2015-05-29 23:17:34 -07:00
Bailey Ling
67de5f2257
Merge pull request #776 from jrtc27/master
...
Added support for Neovim's terminal buffer mode
2015-05-25 21:12:30 -04:00
James Clarke
0b5ef59cf5
Added support for Neovim's terminal buffer mode
2015-05-25 17:10:27 +01:00
Bailey Ling
491b3335cd
Merge pull request #763 from h3xx/master
...
Fix grammatical error in comment
2015-05-19 21:11:48 -04:00
Bailey Ling
1e46a46bb3
Merge pull request #754 from blueyed/hunks-support-quickfixsigns
...
Support for quickfixsigns in hunks extension
2015-05-19 21:09:42 -04:00
Bailey Ling
673ca1ace2
Merge pull request #759 from DanielFGray/patch-1
...
use -bar when defining commands
2015-05-19 21:08:25 -04:00
Bailey Ling
3d3c382822
Merge pull request #751 from esmil/master
...
whitespace: add more lenient mixed whitespace algorithm
2015-05-19 20:54:03 -04:00
Daniel Hahler
f22fbfd41d
hunks: add support for quickfixsigns
...
Closes: https://github.com/bling/vim-airline/pull/754
2015-05-03 19:50:11 +02:00
Dan Church
bb2d6d8436
Fix grammatical error in comment
2015-04-28 12:25:26 -05:00
Daniel Gray
be2ea5d7be
use -bar when defining commands
...
-bar allows the user to chain commands after it
2015-04-24 13:26:44 -05:00
Emil Renner Berthing
e6ca2ac58d
whitespace: add more lenient mixed whitespace algorithm
2015-04-14 19:01:08 +02:00
Bailey Ling
f45ecdac15
Merge pull request #736 from lawm/truncate
...
tabline: add fnametruncate option to truncate long tab/buffer names
2015-03-24 21:45:28 -04:00
Bailey Ling
f1869cc47c
Merge pull request #735 from jordwalke/master
...
Add warnings color for base16 color schemes
2015-03-23 12:22:18 -04:00
Lawrence M
252978e4ac
tabline: add fnametruncate option to truncate long tab/buffer names
2015-03-20 16:37:36 -07:00
Jordan W
8d93bc7fd4
Add warnings color for base16 color schemes
...
This replaces the color-clashing orange default with something more reasonable.
2015-03-20 12:25:07 -07:00
Bailey Ling
5dc0cc5418
allow displayed_head_limit to work alongside format. resolves #729 .
2015-03-14 12:26:35 -04:00
Bailey Ling
5e1cc0a28b
Merge pull request #728 from w0ng/upstream
...
Add new theme: hybridline.vim
2015-03-11 23:08:13 -04:00
Bailey Ling
837f53cf79
Merge pull request #724 from ecsousa/ConEmuColors
...
Dectect when vim.exe is running on ConEmu with 256 colors configured
2015-03-09 19:30:12 -04:00
Andrew Wong
57767cc320
Add new theme: hybridline.vim
...
update hybridline comment
2015-03-10 02:17:13 +11:00
Eduardo Antunes C. de Sousa
7ea4b510af
Dectect when vim.exe is running on ConEmu with 256 colors configured, so
...
it will use full color scheme.
More information on http://stackoverflow.com/questions/14315519/conemu-vim-syntax-highlight
2015-03-06 11:42:04 -03:00
Bailey Ling
1b8e4b965a
fix regressions introduced from recent init changes. resolves #721 .
2015-03-03 22:07:55 -05:00
Bailey Ling
77c58de628
add info about g:airline_extensions to readme.
2015-03-01 10:59:53 -05:00
Bailey Ling
96a94d8c3a
add option to display both tab number and splits. resolves #440 .
2015-03-01 09:56:36 -05:00
Bailey Ling
3635b78448
Merge pull request #722 from lynnard/master
...
tabline -- added AirlineSelect{NextTab,PrevTab} commands with countable support
2015-03-01 09:34:12 -05:00
Lingnan Dai
661c5fb0c5
tabline -- added AirlineSelect{NextTab,PrevTab} commands with countable support
2015-03-01 00:18:02 +00:00
Bailey Ling
50e47ced42
add g:airline_extensions variable for manual loading
2015-02-28 17:40:23 -05:00
Bailey Ling
51095bad95
fix failing tests
2015-02-27 22:45:12 -05:00
Bailey Ling
ca44fd467c
support display only tail end of a branch; as well as custom format
...
functions. resolves #710 .
2015-02-27 22:04:13 -05:00
Bailey Ling
f0492b5aea
add basic integration for vim-ctrlspace
2015-02-27 21:44:43 -05:00
Bailey Ling
8aad42644c
integration with taboo.vim; resolves #476 and #575 .
2015-02-27 21:12:45 -05:00
Bailey Ling
36bc297e60
fix statusline out of sync right after colorscheme change
2015-02-27 09:09:26 -05:00
Bailey Ling
b6e29a8cfb
fix durant theme. resolves #704 .
2015-02-27 07:35:31 -05:00
Bailey Ling
c78767a564
fix buffer mismatch in certain cases. resolves #715 .
2015-02-26 23:08:59 -05:00
Bailey Ling
b08784907a
eagerly bootstrap all the variables, but load extensions after vim is
...
loaded. #720
2015-02-26 16:15:39 -05:00
Bailey Ling
ec18e6639d
initialize before VimEnter, resolves #717 and #718 .
...
a lot of users are still using VimEnter instead of the new
AirlineAfterInit, this changes allows those configs to continue working.
2015-02-25 19:31:50 -05:00
Bailey Ling
e2a120869b
fix load error for buffer_idx_mode. resolves #711
2015-02-20 19:37:55 -05:00
Bailey Ling
618851188a
hide tab type as per documented variable. resolves #667 .
2015-02-19 21:33:05 -05:00
Bailey Ling
59752b2659
clean up initialization code
2015-02-19 21:31:06 -05:00
Bailey Ling
5b55dd94f4
Merge pull request #709 from walterl/master
...
badwolf theme: make inactive status line stand out more
2015-02-19 21:30:26 -05:00
Walter Leibbrandt
83000d9a30
badwolf theme: make inactive status line stand out more - in console vim too.
2015-02-20 02:10:54 +02:00
Walter Leibbrandt
791de5a34d
badwolf theme: make inactive status line stand out more
2015-02-19 16:00:25 +02:00
Bailey Ling
63e309130a
account for possibility of uninitialized variable
2015-02-19 07:09:24 -05:00
Bailey Ling
7394642293
extract buffers view mode into its own file
2015-02-18 21:56:16 -05:00
Bailey Ling
987306dcaf
extract tabs view mode to its own file
2015-02-18 21:56:15 -05:00
Bailey Ling
6f9d92df7c
extract autoshow logic to its own file
2015-02-18 21:56:15 -05:00
Bailey Ling
8693a525b9
extract buffer listing to its own file
2015-02-18 21:56:15 -05:00
Bailey Ling
3add7b265a
Merge pull request #705 from ClaudiaJ/master
...
Add support for 24-bit colors with +termtruecolor flag
2015-02-18 21:55:09 -05:00
Bailey Ling
065b141033
Merge pull request #703 from kmARC11/master
...
Base16 color fixes to resemble gui
2015-02-18 21:53:28 -05:00
Claudia Hardman
ac58bc9954
Add support for 24-bit colors with +termtruecolor flag
2015-02-16 12:00:52 -05:00
Bailey Ling
ca925efdbf
move formatters into their own namespace
2015-02-13 21:50:18 -05:00
Bailey Ling
1ca6ffb6d0
happy 2015
...
resolves #692 .
2015-02-13 21:47:43 -05:00
Bailey Ling
6efde428c6
turn on deprecation check
2015-02-13 21:47:43 -05:00
Mark Korondi
f9b5611ac8
Unnecessary newline removed
2015-02-14 00:43:01 +01:00
Mark Korondi
f820a7eb95
Base16 color fixes to resemble gui
2015-02-14 00:37:17 +01:00
Bailey Ling
1e35ad5d77
Merge pull request #701 from blueyed/fix-get_buffer_list-cache-2
...
Fix get_buffer_list cache 2
2015-02-11 07:27:27 -05:00
Daniel Hahler
98c2dbd04e
tabline: fix cache invalidation for show_buffers=1 with :bd
...
Ref: https://github.com/bling/vim-airline/pull/700#issuecomment-73798679
2015-02-11 02:48:25 +01:00
Bailey Ling
b6accd91c8
Merge pull request #700 from blueyed/fix-get_buffer_list-cache
...
Fix get_buffer_list cache regression
2015-02-10 09:15:54 -05:00
Daniel Hahler
3c1295bb71
tabline: fix s:current_buffer_list invalidation
...
Use `s:current_buffer_list` always in `s:get_buffer_list()`, and
invalidate it via BufAdd and BufUnload.
Fixes regression from ce58af7191 (commitcomment-9647487) .
2015-02-09 17:44:13 +01:00
Bailey Ling
925147baef
add :Helptags to readme for pathogen. resolves #699 .
2015-02-07 12:07:31 -05:00
Bailey Ling
7bc939bee9
Merge pull request #698 from blueyed/fix-cache-with-get_buffer_name
...
Fix get_buffer_list being called always via get()
2015-02-07 12:03:14 -05:00
Daniel Hahler
ce58af7191
Fix get_buffer_list being called always via get()
...
Vim's `get()` calls the expression for `{default}` always, not only if
the default is going to be used!
This caused `airline#extensions#tabline#get_buffer_name` to not use the
cached value.
Fixes https://github.com/bling/vim-airline/issues/697 .
2015-02-07 15:38:02 +01:00
Bailey Ling
446397e006
Merge pull request #688 from changyuheng/pr-column-number
...
Replace column number with virtual column number
2015-01-31 13:21:26 -05:00
Bailey Ling
462ee313e7
use util getwinvar helper function
2015-01-31 12:38:46 -05:00
Bailey Ling
b55b526c65
Merge pull request #689 from chrisbra/disable
...
selectively disable airline for selected windows
2015-01-31 12:36:54 -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
Chang Yu-heng
6d7996ff1b
Replace column number with virtual column number
2015-01-19 00:04:26 +08:00
Bailey Ling
13ee9f456a
address syntax errors
...
resolves #683
2015-01-03 19:38:17 -05:00
Bailey Ling
1fd9886219
Merge pull request #680 from psychomario/show-tabs
...
Added tabline#show_tabs to disable tab bar
2015-01-01 10:18:48 -05:00
PsychoMario
527e6661e6
added tabline#show_tabs to disable tab bar
2014-12-26 21:48:06 +00:00
Bailey Ling
6387268f13
Merge pull request #673 from lynnard/master
...
fixed bug with excludes for buffers
2014-12-23 16:40:19 -08:00
Lingnan Dai
dd587883eb
fixed bug with excludes for buffers
2014-12-18 12:46:35 +00:00
Bailey Ling
401ce611c6
Merge pull request #651 from chenaren/byfname
...
Show the byfname toggle in status line of CtrlP
2014-12-09 22:25:41 -05:00
Bailey Ling
317fcfd295
Merge pull request #666 from blueyed/no-ft-override-for-diff
...
Remove 'diff' from s:filetype_overrides
2014-12-09 22:22:34 -05:00
Daniel Hahler
9650024142
Remove 'diff' from s:filetype_overrides
...
I would like to see the normal statusline (i.e. file name) with
diff/patch files, too.
2014-12-02 16:11:16 +01:00
Bailey Ling
4a2208821e
Merge pull request #656 from michamos/patch-1
...
Improve Quickfix window detection
2014-11-26 09:17:42 -05:00
Bailey Ling
a323b5ba3d
Merge pull request #657 from michamos/master
...
Add vim-plug override
2014-11-25 21:11:42 -05:00
Bailey Ling
6b4f03efbc
fix seperator drawing when tabs are shown. fixes #653 .
2014-11-25 21:04:18 -05:00
Micha Moskovic
96afdbc877
Add vim-plug override
2014-11-25 16:49:43 +01:00
Micha Moskovic
4c22406e28
Improve Quickfix window detection
...
When using a non-english locale, the name of the Quickfix window can change, making the detection of Quickfix vs Location list fail.
E.g., my locale is set to italian and the Quickfix window's name is `[Lista Quickfix]` rather than `[Quickfix List]`.
This change generalizes the pattern used to detect the Quickfix window.
2014-11-25 16:32:46 +01:00
Bailey Ling
15666d71e3
Merge pull request #652 from chenaren/venv_fallback
...
Add simple virtualenv fallback when vim-virtualenv is not presented
2014-11-22 10:59:01 -05:00
Kevin Chen
4878fab120
Add a virtualenv fallback when vim-virtualenv is not presented
2014-11-21 23:39:39 +08:00
Bailey Ling
eb04e25d34
Merge pull request #650 from chenaren/master
...
Add CtrlP style to Bubblegum
2014-11-21 09:37:14 -05:00
Kevin Chen
b4c8d43e85
Add CtrlP style to the Bubblegum theme
2014-11-20 21:27:26 +08:00
Kevin Chen
038c000f91
Show the byfname toggle in status line
2014-11-20 21:23:25 +08:00
Bailey Ling
411ae84890
Merge pull request #643 from maek/master
...
Improve tabline + buffer_min_count behaviour
2014-11-15 16:31:53 -05:00
Bailey Ling
d003b2450a
Merge pull request #547 from kdurant/master
...
Create durant.vim
2014-11-15 14:52:50 -05:00
Bailey Ling
09817e0984
fix regression with serene theme, #599
2014-11-15 19:49:02 +00:00
maek
f8645fb654
Improve tabline + buffer_min_count behaviour
...
Use BufEnter and BufUnload in place of CursorMoved.
Fixes #479
2014-11-10 15:30:44 +01:00
Bailey Ling
be6e4d6dd6
check background of groups to determine transition. resolves #599 .
2014-11-09 00:52:42 -05:00
Bailey Ling
727192ad6a
refactor builder and reduce state across multiple calls
2014-11-04 14:49:02 -05:00
Bailey Ling
256dec6800
detect changes to tabline config variables after init. resolves #636
2014-11-04 14:48:00 -05:00
Bailey Ling
246c217562
Merge pull request #631 from rkannan82/master
...
Display warnings only when there are no errors messages.
2014-10-27 21:58:13 -04:00
Bailey Ling
3e0b5474b1
Merge pull request #628 from freeo/master
...
Theme kalisi: Added 256 term colors and several changes
2014-10-27 21:11:11 -04:00
Kannan Rajah
328016ce85
Exclude INFO from error/warning count.
...
Eclim uses signs for code reference searches and they shows up as INFO
signs. These are not errors/warnings and hence should not be included in
count.
Testing:
Verified the right count shows up.
2014-10-26 10:14:13 -07:00
Asa Jay
82a4ebb56c
Theme kalisi: Added 256 term colors, several changes
...
Changed insert mode color 3
Changed tabline modified
Changed inactive modfied statusline
Refined visual and replace mode colors
2014-10-26 14:08:21 +01:00
Bailey Ling
64b9ae176d
Merge pull request #618 from rkannan82/master
...
Display warnings only when there are no errors messages.
2014-10-25 22:57:45 -04:00
Bailey Ling
616daceb73
add small section about performance to readme
2014-10-18 11:45:09 -04:00
Bailey Ling
37ddb6e7da
Merge pull request #622 from spacelis/master
...
Make tabline's left separators customizable as right separathers.
2014-10-18 11:37:55 -04:00
wangjun
78c3cd9bba
Update durant.vim
...
remove comments
2014-10-17 14:40:42 +08:00
Bailey Ling
c85ce909df
Merge pull request #619 from bchretien/master
...
themes: fix GUI murmur theme.
2014-10-15 21:12:15 -04:00
wenli
7c4bf0aba6
Make tabline's left separators customizable as right separathers.
2014-10-15 22:32:00 +02:00
Benjamin Chrétien
23b452d1ae
themes: fix GUI murmur theme.
2014-10-14 00:17:45 +02:00
Kannan Rajah
84c242a27d
Display warnings only when there are no errors messages.
...
In large code base, typically there will lot of warnings because the
file has been changed by many people and not everyone bothered to follow
coding conventions. So its more useful to show the errors first. Once
all errors have been fixed, we can focus on warnings.
2014-10-12 17:38:06 -07:00
Bailey Ling
0bc3a21116
Merge pull request #614 from Pychimp/two-themes
...
Update raven.vim
2014-10-05 18:13:08 -04:00
Pratheek
258817ff38
Update raven.vim
...
- Fixed the incorrect cterm background value for airline_warning
2014-10-05 20:05:17 +05:30
Bailey Ling
53e765a49d
Merge pull request #582 from Pychimp/two-themes
...
Added two themes
2014-10-05 08:30:32 -04:00
Bailey Ling
51c788a37b
Merge pull request #613 from meonkeys/patch-1
...
README: fix link to powerline font install docs
2014-10-05 08:29:26 -04:00
Pychimp
b16870fbf9
Added theme support for console vim
...
- Both themes (raven and silver) have been updated
2014-10-05 15:05:47 +05:30
Adam Monsen
6feec73d14
README: fix link to powerline font install docs
2014-10-04 20:35:10 -07:00
Bailey Ling
825a048b10
Merge pull request #603 from kballard/part_condition_special_char
...
Handle special characters in part conditions
2014-09-22 22:36:04 -04:00
Kevin Ballard
908f031f42
Handle special characters in part conditions
2014-09-22 01:44:23 -07:00
Bailey Ling
4dab93470f
improve buffer index mode and fix usages where there's overflow
2014-09-17 09:52:08 -04:00
Bailey Ling
8421f03178
Merge pull request #598 from wesQ3/pr
...
Added extension for wesQ3/vim-windowswap
2014-09-15 12:31:33 -04:00
Bailey Ling
50c9ea89a5
Merge pull request #589 from paulhybryant/master
...
Minor enhancement for tabline
2014-09-15 12:30:08 -04:00
Yu Huang
ae472d6716
Add buffer_idx_mode to vim-airline.
...
Update documentation.
Keep buffer index-id map a script scope variable.
2014-09-14 18:58:20 -07:00
Bailey Ling
3eef719c4d
Merge pull request #595 from mseabold/upstream
...
Tabline: Highlight unselected modified buffer
2014-09-11 22:40:39 -04:00
Wes Malone
d6475684b7
add windowswap extension
2014-09-10 19:05:42 -05:00
Matt Seabold
a5e5d8ab4f
Tabline protect against missing palletes
...
If normal_modified or normal_modified.airline_c aren't present, fallback
to the default normal.airline_c.
2014-09-08 09:43:15 -04:00
Bailey Ling
3f3ae446e1
Merge pull request #591 from igorpetrovcom/tabline-close-button-flag
...
Show/hide setting for close button in tabline
2014-09-07 11:17:32 -04:00
Matt Seabold
bfd160a08b
Tabline: Highlight unselected modified buffer
...
Use the modified airline_c color on unselected modified buffers in order
to highlight them as modified while unselected.
2014-09-04 15:51:40 -04:00
Igor Petrov
6e5865473c
Tabline close button flag added
2014-09-04 02:48:48 +04:00
Bailey Ling
310331cfc4
Merge pull request #586 from blueyed/readonly-for-nomodifiable
...
Add `readonly` indicator also for &nomodifiable
2014-08-29 22:09:55 -04: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
ad19d1a10f
Merge pull request #577 from qstrahl/master
...
Don't wipe out b:airline_head if fugitive finds the head
2014-08-25 20:48:18 -04:00
Quinn Strahl
30df99a681
Don't wipe out b:airline_head if fugitive finds the head
...
- Fugitive can edit virtual files that represent objects in git; while
editing these files, it still reports on the HEAD of the relevant
repo, which should be displayed as the branch (rather than having the
branch section disappear)
2014-08-25 09:51:52 -04:00
Pychimp
47fd63586c
Added two themes
...
- Raven (for Dark colorschemes)
- Silver (for Light colorschemes)
2014-08-24 13:20:19 +05:30
Bailey Ling
f17927053e
Merge pull request #580 from andrewgregory/detached_head
...
use commit hash as git branch with detached HEAD
2014-08-22 15:39:06 -04:00
Andrew Gregory
83a7e30790
use commit hash as git branch with detached HEAD
...
Abbreviated to 7 characters to match `git rev-parse --short HEAD`.
2014-08-20 18:59:15 -04:00
Bailey Ling
f0e00620c0
Merge pull request #576 from qstrahl/master
...
Preserve section c text for inactive windows
2014-08-15 22:37:44 -04:00
Quinn Strahl
ed180fda62
Preserve section c text for inactive windows
...
- Closes #573
2014-08-15 15:44:18 -04:00
Bailey Ling
00e4b68ee6
Merge pull request #571 from perkint/perkint-tabline-refresh
...
bugfix for a tabline refresh problem
2014-08-15 13:49:29 -04:00
perkint
0349f85ab0
bugfix for a tabline refresh problem
2014-08-12 17:26:52 -07:00
Bailey Ling
2114e70251
Merge pull request #564 from freeo/master
...
Improved my theme kalisi
2014-08-01 22:35:41 -04:00
Asa Jay
ac08bbcf26
Added CtrlP support, refined visual and replace mode colors.
2014-07-30 22:38:17 +02:00
Bailey Ling
e10ef2fb25
also redraw the statusline for :AirlineRefresh (for #563 )
2014-07-30 15:29:43 -04:00
Bailey Ling
9a1dff320d
Merge pull request #559 from Wraul/feature_capslock
...
Added extension for tpope/vim-capslock
2014-07-30 13:14:27 -04:00
Mathias Andersson
faa15c136c
Added extension for tpope/vim-capslock
2014-07-29 00:55:53 +02:00
Bailey Ling
936e2b6a66
Merge pull request #549 from sunaku/cterm-reverse
...
cterm=reverse not honored; only term=reverse was
2014-06-29 12:18:19 -04:00
Suraj N. Kurapati
bd7220cb5b
cterm=reverse not honored; only term=reverse was
...
This patch makes Airline honor the `cterm=reverse` syntax attribute.
2014-06-29 06:33:42 -07:00
kdurant
ea828c5a6a
Create durant.vim
...
add airline scheme
2014-06-25 12:54:07 +08:00
Bailey Ling
3ab1bb7eb0
Merge pull request #527 from zdm/master
...
Always use absolute file path when comparing buffers names
2014-05-31 12:08:11 -04:00
Bailey Ling
c5a404bd62
Merge pull request #531 from chrisbra/add_changes_plugin
...
integrate changesPlugin for displaying hunks
2014-05-28 10:59:27 -04:00
Christian Brabandt
f2ae2bd7d0
integrate changesPlugin for displaying hunks
2014-05-27 20:22:59 +02:00
zdm
45cab177ef
always use absolute file path when comparing buffers names
2014-05-22 12:29:35 +03:00
Bailey Ling
44bf6fd1c5
Merge pull request #526 from bennidhamma/master
...
Fix #462 - Configurable head limit.
2014-05-22 00:03:32 -04:00
Ben Joldersma
4f904ab0d4
Fix #462 - Configurable head limit.
2014-05-21 10:41:53 -07: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
c5347b2f03
Merge pull request #503 from saamalik/patch-1
...
Fix #456 Status line text color too dim for inactive windows
2014-05-05 00:34:06 -04:00
Saad Malik
99a4b38732
Fix #456
...
Fix for #456 Status line text color too dim for inactive windows.
2014-05-04 12:58:04 -07:00
Bailey Ling
7b56fbdd29
Merge pull request #500 from chrisbra/updated_nrrwrgn
...
updated nrrwrgn integration
2014-05-03 10:47:58 -04:00
Christian Brabandt
534d8e844b
updated nrrwrgn integration
2014-05-03 14:16:50 +02:00
Bailey Ling
db0ea7a970
Merge pull request #499 from steve0hh/patch-1
...
Update README.md vundle installation instructions
2014-04-26 11:33:06 -04:00
steve
5ff2b4b2f5
Update README.md vundle installation instructions
...
[vundle is undergoing interface changes](https://github.com/gmarik/Vundle.vim/blob/master/doc/vundle.txt#L372-L396 )
2014-04-26 14:28:28 +08:00
Bailey Ling
3267c74a55
Merge pull request #498 from lumbric/master
...
fix minor typo in help text
2014-04-25 15:57:16 -04:00
Peter Regner
7bd40715d4
fix minor typo in help text
2014-04-25 18:28:49 +02:00
Bailey Ling
a222518b76
Merge pull request #497 from johnathanz/master
...
doesn't assume user has 'set autochdir' set
2014-04-23 21:11:33 -04:00
Bailey Ling
7372806f1d
Merge pull request #496 from chrisbra/new_feature_nrrwrgn
...
new NrrwRgn integration
2014-04-23 19:50:04 -04:00
Johnathan
9e8fe7a98e
doesn't assume user has 'set autochdir' set
2014-04-24 03:03:03 +10:00
Christian Brabandt
a90a39b4aa
new NrrwRgn integration
2014-04-23 01:23:42 +02:00
Bailey Ling
81430cbdf6
append to the existing value in case the user defined it.
2014-04-20 14:52:06 +00:00
Bailey Ling
7560204212
Merge pull request #493 from chrisbra/master
...
Enable :AirlineToggleWhitespace,
2014-04-20 10:05:36 -04:00
Christian Brabandt
931367d9fb
Enable :AirlineToggleWhitespace,
...
even if g:airline#extensions#whitespace#enabled is disabled
2014-04-20 00:39:43 +02:00
Bailey Ling
fafb9ea76e
provide option to disable runtimepath extension loading. resolves #483
2014-04-19 14:38:02 -04:00
Bailey Ling
e49eac95a3
add support for configurable whitespace checking algorithms and default it to the simplest one. resolves #484
2014-04-19 14:27:14 -04:00
Bailey Ling
abee990d30
handle cases where the augroup has not be defined yet. resolves #492
2014-04-19 14:16:36 -04:00
Bailey Ling
66d0a47f37
Merge pull request #478 from davits/mixed_indent
...
Improvements in whitespace plugin
2014-04-05 16:56:02 -04:00
Davit Samvelyan
7b0d80050a
Now trailing tabs are also reported, fixed bug when trailings with mixed tabs and spaces were being reported as mixed indents, case when count of spaces at the end of tabbed indentation less then tabstop does not reported as mixed indent anymore.
2014-04-05 16:41:27 +05:00
Bailey Ling
a37f0b9ae0
restore original directory change detection. also resolves #474 .
2014-04-03 00:54:43 +00:00
Bailey Ling
d111e4edb3
remove usage of fugitive#detect as per request
...
https://github.com/tpope/vim-fugitive/issues/463
2014-04-01 16:45:06 -04:00
Bailey Ling
c374af183a
Merge pull request #469 from russellhancox/patch-1
...
Save branch head to a buffer variable
2014-03-31 07:53:11 -04:00
Russell Hancox
13297cee03
Add CursorHold autocmd to unset airline_head
2014-03-28 10:53:13 -04:00
Russell Hancox
25059d43b1
Save branch head to a buffer variable
...
Save branch head to a buffer-local variable to prevent looking up the VCS head for every status line refresh.
2014-03-24 14:01:31 -04:00
Bailey Ling
5a2daf6dfb
Merge pull request #468 from Pychimp/master
...
Fixes incorrect fg value in visual modified
2014-03-22 17:27:57 -04:00
Pychimp
496ba60984
Fixes incorrect fg value in visual modified
...
- changes it from white (hard to read) to dark grey-ish (easier to read)
2014-03-23 00:38:28 +05:30
Bailey Ling
42a4590948
Merge pull request #467 from xinleibird/master
...
filter() result error
2014-03-22 11:48:17 -04:00
xinleibird
3c66f13b9a
My fault, it's a transferred error, add a '\' that' works fine.
2014-03-22 16:16:27 +08:00
xinleibird
3bde2fabd1
filter() result error
2014-03-22 14:41:48 +08:00
Bailey Ling
ab92a95969
Merge pull request #442 from blueyed/doc
...
Minor doc fixes
2014-03-21 23:54:30 -04:00
Bailey Ling
9291968b94
Merge pull request #466 from Pychimp/master
...
Improvements to Sol and Luna themes
2014-03-21 23:48:07 -04:00
Bailey Ling
9cb7366128
Merge pull request #464 from emilyst/customize-tabline-close-and-type
...
Customizes tabline appearance: type, close button
2014-03-21 23:47:21 -04:00
Pychimp
5a3e8852bd
Improve colour highlights
...
- Sol: Used a less distracting color to show a modified file/buffer
- Sol: Similar change as above, to tabline as well
- Sol: Warning colour imporved (Previously was some bad shade of magenta)
- Sol: All the Above mentioned changes replicated for CTERM values as well
--------------------------------------------------------------------------
- Luna: `Inactive Modified` colour is improved (Was a shade of red
that was hard to read)
2014-03-21 00:33:26 +05:30
Emily St
f196ea1f36
Customizes tabline appearance: type, close button
...
This commit adds a couple of new settings so that it's possible to hide
the tab type (all the way to the right) and the symbol which represents
the close button.
The settings and their defaults:
let g:airline#extensions#tabline#show_tab_type = 1
let g:airline#extensions#tabline#close_symbol = 'X'
2014-03-19 13:46:44 -07:00
Bailey Ling
799e5e028f
Merge pull request #455 from taketwo/fix-empty-key-error
...
Fix "Cannot use empty key for Dictionary" error
2014-03-10 08:15:17 -04:00
Sergey Alexandrov
4a76132cbe
Fix "Cannot use empty key for Dictionary" error
...
This commit resolves compatibility issue with fugitive plugin. When
using "Gdiff" command on some file, fugitive attempts to open the
current and the index version of the file. For example, if the file is
/home/taketwo/path/to/the/project/README.md
then fugitive will use the following path to open the index version:
fugitive:///home/taketwo/path/to/the/project/.git//0/README.md
Opening this file leads to a cascade of errors like this:
Error detected while processing function
airline#extensions#tabline#get..<SNR>162_get_buffers..<SNR>162_get_visible_buffers..airline#extensions#tabline#get_buffer_name..airline#extensions#tabline#unique_tail_improved#format:
line 20:
E713: Cannot use empty key for Dictionary
The problem is that when a filename like this is being tokenized, there
appear empty "" tokens, and an error occurs when using them as keys in
`path_tokens[token_index]` dictionary. This fix simply skips empty
tokens.
2014-03-10 12:27:22 +01:00
Bailey Ling
d99112d6c6
improve whitespace detection. resolves #452 .
2014-03-09 21:58:42 -04:00
Evgeni Kolev
7857cc2345
Merge pull request #410 from coven/master
...
Branch extension bugs. Fix #444
2014-03-01 08:39:05 +02:00
Bailey Ling
9aea79bb99
Merge pull request #404 from blueyed/solarized-inactive-like-vertsplit
...
solarized: use VertSplit bg for inactive statusline
2014-02-27 22:02:35 -05:00
Bailey Ling
942c6ae382
reset current buffer when one gets deleted. resolves #399
2014-02-25 20:34:52 -05:00
Paweł Więcek
63f811e15c
Enable branch extension when vcscommand is available
2014-02-25 22:43:19 +01:00
Paweł Więcek
5e25794d4b
Correctly detect mercurial repos using lawrencium
2014-02-25 22:36:36 +01:00
Bailey Ling
6aac1b469d
Merge pull request #441 from blueyed/tagbar_once_per_second
...
tagbar: only lookup tag once every second
2014-02-19 22:21:42 -05:00
Daniel Hahler
a6e304e07c
minor doc fix: s/various some/various/
2014-02-20 00:30:56 +01:00
Daniel Hahler
ffbbaa769a
Clarify doc for loading custom extensions
2014-02-20 00:30:16 +01:00
Daniel Hahler
2dc416aa8f
tagbar: only lookup tag once every second
...
This makes scrolling (holding done j/k) much smoother, and the current
tag gets pulled in via CursorHold anyway.
Fixes https://github.com/bling/vim-airline/issues/387
2014-02-20 00:06:04 +01:00
Bailey Ling
dbd6c4a71a
Merge pull request #434 from yasuoza/hybrid-theme
...
Add new color theme: hybrid
2014-02-14 20:14:26 -05:00
Yasuharu Ozaki
0f091db08f
Add new color theme: hybrid
2014-02-14 21:59:31 +09:00
Bailey Ling
b45ab384ee
Merge pull request #428 from eyetracker/master
...
Added new color theme: Kalisi
2014-02-06 07:04:52 -05:00
Asa Jay
82efa95d94
Added new color theme: Kalisi
2014-02-06 00:25:19 +01:00
Daniel Hahler
3e044418a3
Revert changes to s:NM, add s:NMi for inactive windows
2014-01-26 12:04:30 +01:00
Bailey Ling
fae68dbcb7
account for possibilty of branch extension unavailable. resolves #419 .
2014-01-20 12:39:33 -05:00
Bailey Ling
baed8ac063
happy 2014
2014-01-19 23:44:44 -05:00
Bailey Ling
ac798b0106
Merge pull request #418 from ralesi/netrw
...
Add deeper netrw support, including Git branch head and netrw sorting
2014-01-19 20:38:05 -08:00
ralesi
75ee42b118
Add deeper netrw support, including Git branch head and netrw sorting
...
options
2014-01-19 12:06:55 -07:00
Bailey Ling
b7c88b40aa
Merge pull request #413 from ralesi/patch-1
...
Allow changes to airline_symbols.branch after init
2014-01-16 18:54:24 -08:00
Bailey Ling
4ca48ba6e2
Merge pull request #412 from gabriellim/patch-1
...
Minor spelling
2014-01-16 18:54:05 -08:00
Rich Alesi
6141a59278
Allow changes to airline_symbols.branch after init
...
If the user updates the airline_symbols.branch variable later in the vimrc, the value will not update after the initial init. Since these variables are only used in the get_head() function, I moved them locally within the function to allow evaluation on each instance.
2014-01-15 21:31:07 -07:00
gabriellim
c638affe4f
Minor spelling
...
5th bullet point in Features section had the word "colorschemes"
Proposed fix: color schemes
2014-01-14 23:24:29 -08:00
Bailey Ling
5f1c24528c
Merge pull request #402 from edkolev/prompt-extension
...
Prompt extension
2014-01-10 17:53:42 -08:00
Daniel Hahler
41a148f1e6
solarized: use VertSplit bg for inactive statusline
...
Adjust foreground color accordingly, also for non-active modified
filename (to stand out).
2014-01-10 22:47:33 +01:00
Evgeni Kolev
1c41ce53d9
Add promptline.vim extension
2014-01-10 22:14:21 +02:00
Bailey Ling
7a1801e9c4
Merge pull request #396 from gstewart/master
...
Fixed modified tab/buffer not updating in tabline
2014-01-01 20:48:52 -08:00
gstewart
48f762e312
Fixed modified tab/buffer not updating in tabline
2013-12-31 17:38:16 -08:00
Bailey Ling
576d1de716
Merge pull request #394 from f/patch-1
...
tagbar link fixed
2013-12-28 17:48:32 -08:00
Fatih Kadir AKIN
4345a6b29a
tagbar link fixed
...
tagbar link was going to user's url.
2013-12-29 03:19:24 +02:00
Bailey Ling
1a6c84b00a
Merge pull request #388 from zdm/master
...
Supress tab numbers and improved uniq_tail formatter
2013-12-26 12:32:41 -08:00
zdm
225098475a
docs updated
2013-12-26 08:16:30 +02:00
zdm
19861d0514
docs updated
2013-12-23 07:58:24 +02:00
zdm
50fd649110
docs updated, formatters moved to separate filenames
2013-12-23 07:41:24 +02:00
zdm
6c79004aaa
show tab nr condition moved to right place
2013-12-22 05:32:06 +02:00
zdm
0714c35547
add skipped symbol fix
2013-12-22 05:17:01 +02:00
zdm
f6133e4fa1
dos path fixed
2013-12-22 04:03:07 +02:00
zdm
43c1636e36
windows path replaced
2013-12-22 03:49:30 +02:00
zdm
8d7c2ad830
uniq_tail improved formatter added
2013-12-22 02:27:42 +02:00
Bailey Ling
233e3c60ce
improve performance when showing tabs in the tabline ( #326 ).
2013-12-16 00:27:18 -05:00
Bailey Ling
df2f33d6a5
specify maximum for whitespace checking. resolves #378 .
2013-12-13 16:38:32 -05:00
Bailey Ling
739a275d5d
Merge pull request #379 from phy1729/master
...
Add comment on 'laststatus' to the README
2013-12-13 13:19:20 -08:00
Bailey Ling
414f43812a
Merge pull request #380 from zeis/master
...
Add kolor theme
2013-12-13 13:18:05 -08:00
Alessandro Di Martino
7c10cfa73e
Improve some colors
2013-12-13 21:50:00 +01:00
Alessandro Di Martino
285b4da3e5
Add kolor theme
2013-12-13 17:40:52 +01:00
Matthew Martin
ad1b23e8c3
Add comment on 'laststatus' to the README
...
Judging from #vim activity, few read the help all the way to the FAQs.
2013-12-13 08:57:58 -06:00
Bailey Ling
9039793343
Merge pull request #377 from blueyed/eclim-filter-signs
...
eclim: only consider signs placed by eclim
2013-12-11 11:48:46 -08:00
Daniel Hahler
ba899b2dde
eclim: only consider signs placed by eclim
...
Ref: https://github.com/bling/vim-airline/pull/293
2013-12-11 09:40:50 +01:00
Bailey Ling
87951ba090
Merge pull request #375 from qstrahl/master
...
Correct quickfix window detection pattern
2013-12-09 17:37:39 -08:00
Quinn Strahl
fdc847c8da
Correct quickfix window detection pattern
2013-12-09 15:05:10 -05:00
Bailey Ling
ce32405105
fix possibility of the branch extension being unavailable. resolves #366 .
2013-12-03 20:01:26 -05:00
Bailey Ling
0966b693d9
expose cleaner api to determine empty head.
2013-12-03 05:32:54 +00:00
Bailey Ling
ed7111b1ff
Merge pull request #364 from dmitrykruglov/master
...
Hide hunks when Git Gutter is enabled, but current file is NOT under git...
2013-12-02 21:15:40 -08:00
Dmitry Kruglov
08a57d0227
Hide hunks when Git Gutter is enabled, but current file is NOT under git version control
2013-12-02 17:29:04 -08:00
Bailey Ling
ce15809db3
improve tabline performance during scroll ( #362 ).
2013-12-02 03:00:31 +00:00
Bailey Ling
7baedbacc0
Merge pull request #347 from edkolev/tmuxline-extension
...
Add tmuxline extension
2013-11-23 05:19:37 -08:00
Evgeni Kolev
63272a08ae
Add tmuxline extension
2013-11-23 11:10:11 +02:00
Bailey Ling
253974506a
disable vcscommand integration by default. resolves #340 .
2013-11-12 09:45:04 -05:00
Bailey Ling
f2f164bda1
evaluate line number symbol. resolves #336 .
2013-11-10 16:04:03 -05:00
Bailey Ling
02441be0e1
Merge pull request #335 from dzderic/master
...
Use VCSCommand to display revision if available
2013-11-08 05:29:40 -08:00
David Zderic
2e8f99d39b
Use VCSCommand to display revision if available
2013-11-08 10:39:00 +11:00
Bailey Ling
3c9f8bb979
document section layout ordering ( #164 ).
2013-11-03 23:14:10 -05:00
Bailey Ling
31f36740c8
look up whitespace checks all the time. resolves #330 .
2013-11-03 14:03:52 -05:00
Bailey Ling
aef500c426
Merge pull request #328 from mikkeloscar/master
...
Adds userdefined space in tabline, workaround for #327
2013-11-02 21:13:12 -07:00
Mikkel Oscar Lyderik
47acdcb92c
adds userdefined space in tabline
...
workaround for #327
2013-11-02 22:46:36 +01:00
Bailey Ling
99b7cdf334
improve performance with accent cache ( #326 ).
2013-11-01 00:58:08 -04:00
Bailey Ling
de1d1e365e
Merge pull request #321 from tommcdo/master
...
Fix typo in help
2013-10-21 14:14:26 -07:00
Tom McDonald
11950b0298
Fix typo in help
...
Help tag used underscore instead of hyphen.
2013-10-21 16:53:48 -04:00
Bailey Ling
c4c4be836e
implement new unique_tail formatter. resolves #230 .
2013-10-21 14:25:21 -04:00
Bailey Ling
dd2be8ac8d
detect whether quickfix or location list is open.
2013-10-21 13:22:07 -04:00
Bailey Ling
592cc412cf
fix and improve airline toggling functionality.
2013-10-13 18:01:38 -04:00
Bailey Ling
778c0f59ca
Merge pull request #313 from edkolev/master
...
AirlineToggle should also toggle the tabline
2013-10-13 12:03:18 -07:00
Evgeni Kolev
382c000958
AirlineToggle should also toggle the tabline
2013-10-13 16:44:36 +03:00
Bailey Ling
5976cf3a48
a min tab count of 1 is the same as always showing ( #304 ).
2013-10-08 13:05:43 -04:00
Bailey Ling
00cd0be601
fix detection of tab count. resolves #304 .
2013-10-08 10:00:29 -04:00
Bailey Ling
047e40a3e1
update readme with link to sample accent configuration.
2013-10-08 09:48:06 -04:00
Bailey Ling
9e53c2c155
add more documentation about accents. resolves #299 .
2013-10-06 09:22:33 -04:00
Bailey Ling
491091706f
add guard for possible undefined window context ( #276 ).
2013-10-06 09:03:47 -04:00
Bailey Ling
af330f6a47
add AirlineRefresh command.
2013-10-06 09:01:01 -04:00
Bailey Ling
a75f91baba
fix luna ctrlp theming.
2013-10-06 08:50:04 -04:00
Bailey Ling
fda5be77cd
Merge pull request #301 from jonathanfilip/master
...
Added lucius.vim to airline themes
2013-10-06 05:46:48 -07:00
U-jfilippc\jfilip
6de7c3e0fe
Added lucius.vim to airline themes
2013-10-05 23:25:30 -05:00
Bailey Ling
dd967eee4d
Merge pull request #298 from Pychimp/master
...
Spelling mistake in documentation
2013-10-05 11:48:46 -07:00
Pychimp
ccccb87671
Spelling mistake in documentation
...
spelling error was present in *airline-eclim* part,
integratino -> integration
2013-10-05 14:23:53 -04:00
Bailey Ling
f26c7d4143
echo warning message if duplicate statusline func gets added.
2013-10-04 10:27:49 -04:00
Bailey Ling
008eb8cd3b
Merge pull request #296 from xinleibird/project_tree
...
Add a simple eclim's ProjectTree status line
2013-10-02 11:21:15 -07:00
xinleibird
fc6c9120e4
Add a simple eclim's ProjectTree status line
2013-10-03 00:07:57 +08:00
Bailey Ling
a8c96b6020
parse out submodule path when not in a .git directory ( #273 ).
2013-10-02 10:18:33 -04:00
Bailey Ling
d0c6ca4577
Merge pull request #295 from xinleibird/eclim
...
Fix a wrong determines order name.
2013-10-02 06:28:34 -07:00
xinleibird
47ecfff9b8
Fix a wrong determines order name. It should be ':SyntasticCheck' not ':SyntasticStatuslineFlag'.
2013-10-02 13:50:04 +08:00
Bailey Ling
2735282992
account for different git submodule format. resolves #273 .
2013-10-01 21:36:24 -04:00
Bailey Ling
0f23d9373c
move eclim documentation into the vim doc.
2013-10-01 21:26:31 -04:00
Bailey Ling
6c66ad5dfc
refactor ctrlp statusline to use builder. resolves #291 .
2013-10-01 21:23:17 -04:00
Bailey Ling
6fc15ff321
Merge pull request #293 from xinleibird/eclim
...
add eclim's checker extension
2013-10-01 13:30:05 -07:00
xinleibird
4eec9cfa91
Add eclim extension and update documentation.
2013-10-02 04:19:15 +08:00
xinleibird
7365ccf3fe
Add eclim's checker extension, now it conform to the specification
2013-10-02 02:25:43 +08:00
xinleibird
5582daf79c
add eclim's checker extension, when eclim is running , it can instead of syntastic
2013-10-01 12:42:42 +08:00
Bailey Ling
e16c36eea1
default space back to 32 ( #283 ).
2013-09-30 14:37:02 +00:00
Bailey Ling
e0f6bee10e
slow down release cycle.
2013-09-28 01:55:50 +00:00
Bailey Ling
b460822c84
Merge branch 'dev'
2013-09-28 01:53:55 +00:00
Bailey Ling
a81d1cd9c7
refactor the rest of the themes to use refresh. resolves #288 .
2013-09-27 21:43:32 -04:00
Bailey Ling
2f3b33daae
fix solarized theme being out of sync ( #288 ).
2013-09-27 21:36:44 -04:00
Bailey Ling
60edd20300
Merge pull request #286 from Pychimp/master
...
Added Sol compatiable vim-airline theme
2013-09-27 14:01:01 -07:00
Pychimp
d7c66aa377
Sol theme, Now for vim-airline !
...
- Colors are now pretty spot-on (with respect to gvim) ! :)
2013-09-28 01:59:29 +05:30
Bailey Ling
9d3c6506da
add table of contents to help file.
2013-09-27 10:34:41 -04:00
Bailey Ling
7dd8c4705c
replace powerline symbols with escaped syntax. resolves #283 .
2013-09-27 02:15:49 +00:00
Pychimp
3c2fa1d16d
Added Sol compatiable vim-airline theme
2013-09-26 20:59:04 +05:30
Bailey Ling
d123e3583a
fix parts being undefined when referenced by sections in vimrc ( #207 ).
2013-09-25 22:13:57 -04:00
Bailey Ling
c8ef456a25
Merge branch 'dev'
2013-09-25 20:41:40 +00:00
Bailey Ling
4d706c5f4a
use columns instead of winwidth ( #222 ).
2013-09-25 19:26:25 +00:00
Bailey Ling
e507f481a2
allow parts to be defined in the vimrc as overrides. resolves #284 .
2013-09-25 18:48:18 +00:00
Bailey Ling
d9df49e38f
Merge pull request #285 from ipuchkov/murmur_theme
...
Add new dark theme murmur
2013-09-25 10:53:15 -07:00
Ivan Puchkov
9fdb064f11
Add new dark theme murmur
2013-09-25 22:53:30 +07:00
Bailey Ling
b97f687fb1
Merge pull request #282 from Pychimp/master
...
Whitespace indicator color changed
2013-09-25 06:54:25 -07:00
Pychimp
46099b43da
Whitespace indicator color changed
...
Overrides the default orange to one
that suits the theme, slightly better
2013-09-25 19:18:22 +05:30
Bailey Ling
c869665b16
guard against attempting to load invalid themes.
2013-09-25 00:25:20 -04:00
Bailey Ling
89a9b9399f
add monochrome theme.
2013-09-24 22:54:20 -04:00
Bailey Ling
93a95b3fdc
correct visual fg color for serene theme.
2013-09-24 20:08:00 -04:00
Bailey Ling
6cf12f7268
oops. #279 .
2013-09-24 19:06:19 -04:00
Bailey Ling
1b0c260980
revert back to cursormove. resolves #279 .
2013-09-24 18:50:49 -04:00
Bailey Ling
dc570de0c8
Merge pull request #278 from seletskiy/fix-solarized-warningmsg-fg
...
Fix fg color of warning msg section in solarized theme
2013-09-24 09:47:51 -07:00
Stanislav Seletskiy
095295b839
fix solarized warningmsg fg color
2013-09-24 23:29:39 +07:00
Bailey Ling
e2a88dd67f
add screenshot for accents.
2013-09-23 18:15:49 -04:00
Bailey Ling
5dcd1e942c
Merge branch 'dev'
2013-09-23 21:22:59 +00:00
Bailey Ling
66d4c8c893
prevent clobbering startup info message. resolves #156 .
2013-09-23 21:18:52 +00:00
Bailey Ling
123daf2861
add info about configuring tabline separators to readme.
2013-09-23 18:54:42 +00:00
Bailey Ling
99329b0c96
default the tabline separators to powerline if defined.
2013-09-23 18:52:37 +00:00
Bailey Ling
248c9b0e29
restore highlight group with accents for all types of parts. resolves #272 .
2013-09-23 15:45:44 +00:00
Bailey Ling
b07362947e
do not copy section_a to section_z
...
this allows for the line number bolding to display nicely on all themes
2013-09-23 14:56:37 +00:00
Bailey Ling
e5fb2456d4
redefine mode as a part with a bold accent.
2013-09-23 14:52:39 +00:00
Bailey Ling
019d158a02
active winnr should always be set.
2013-09-22 19:13:08 -04:00
Bailey Ling
245fe31f80
correct tests.
2013-09-22 18:05:58 -04:00
Bailey Ling
3c1498017f
missed a space ( #256 ).
2013-09-22 17:51:16 -04:00
Bailey Ling
ccd419bb0f
fix 7.2 incompatibility.
2013-09-22 17:43:14 -04:00
Bailey Ling
ad96110eef
Merge branch '256' into dev
2013-09-22 17:29:37 -04:00
Bailey Ling
a6cee001e8
Merge branch 'master' into dev
2013-09-22 17:22:50 -04:00
Bailey Ling
cf643aa7fa
disable arrows by default for tabline.
2013-09-22 17:21:47 -04:00
Bailey Ling
cdc951be36
bufenter is sufficient to detect buffer list changes.
2013-09-22 17:20:38 -04:00
Bailey Ling
b5e8ea275e
do not render accents in inactive splits. resolves #270 .
2013-09-22 17:15:02 -04:00
Bailey Ling
bb30c09371
bring back readonly by default for section_c in overrides ( #270 ).
2013-09-22 16:19:15 -04:00
Bailey Ling
474116461f
use __accent to better differentiate between a real group.
2013-09-22 15:20:06 -04:00
Bailey Ling
41192a2a65
fix broken test.
2013-09-22 15:13:59 -04:00
Bailey Ling
8e3c91e486
fix syntax error for solarized theme. resolves #269 .
2013-09-22 14:30:55 -04:00
Bailey Ling
5aacb96135
Merge pull request #268 from JarrodCTaylor/master
2013-09-22 14:27:41 -04:00
JarrodCTaylor
8dcc370d94
Added new minimal dark theme understated
2013-09-22 11:25:09 -05:00
Bailey Ling
aa41683342
Merge branch '256' into dev
...
Conflicts:
autoload/airline/init.vim
2013-09-22 11:34:35 -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
b39308c49b
Merge branch 'dev'
2013-09-22 11:01:21 -04:00
Bailey Ling
e01b2a99c0
remove comment about file length, as it is already proper.
2013-09-22 11:01:12 -04:00
Bailey Ling
77a0d933d7
Merge pull request #266 from toupeira/222
...
Show current buffers in the middle of the tabline
2013-09-22 07:44:15 -07:00
Markus Koller
3cc1dcb697
Show current buffers in the middle of the tabline ( bling/vim-airline#222 )
2013-09-22 08:23:19 +02:00
bling
b22190400d
Merge branch '256' of https://github.com/bling/vim-airline into 256
2013-09-22 00:06:02 -04:00
Bailey Ling
dfb17198da
Merge pull request #263 from edkolev/solarized-improvements
...
Solarized improvements
2013-09-21 20:10:14 -07:00
Bailey Ling
2fa6697071
add documentation about predefined parts. resolves #267 .
2013-09-21 15:35:53 -04:00
Evgeni Kolev
a3df71463e
Solarized modifications.
...
- Remove 'reduced' option
- Use yellow for insert, red for replace mode
2013-09-20 22:14:37 +03:00
Stanislav Seletskiy
e787b570e9
Modify solarized normal mode tty colors
2013-09-20 22:12:43 +03:00
Evgeni Kolev
39cb28b7e3
Solarized improvements.
...
- Use gray for normal mode bg color
- Add replace mode colors
- Modify solarized dark colors
2013-09-20 22:02:25 +03:00
Bailey Ling
12ea154de8
use code 160 for space to fix rendering problems.
2013-09-20 15:24:42 +00:00
Bailey Ling
7d78fbf2cc
give the line number a bold accent by default.
2013-09-20 00:01:02 -04:00
Bailey Ling
20b2ee3ac3
add bold and italic accents.
2013-09-19 23:24:31 -04:00
Bailey Ling
0860d2f525
Merge pull request #261 from pydave/add-ctrlp-hide-modes
...
Add option to hide previous/next modes in ctrlp
2013-09-19 11:20:49 -07:00
pydave
0b70880471
Add option to hide previous/next modes in ctrlp
...
New option airline#extensions#ctrlp#show_adjacent_modes allows users to
toggle showing the previous and next modes. The default is the same
behavior as before: show the modes.
Add documentation for new option.
These modes are useful if you switch forward and back through ctrlp's
functionality, but they are visual noise if you don't.
2013-09-19 10:01:10 -07:00
Bailey Ling
948a4178a8
use code 160 for space to fix rendering problems.
2013-09-18 22:23:50 -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
9d5a1744a1
support multiple accents in the same section ( #203 ).
2013-09-18 21:31:39 -04:00
Bailey Ling
fdbf2c05a5
Merge branch '203' into dev. Resolves #203 .
2013-09-17 23:56:54 -04:00
Bailey Ling
a5fc024f3a
add additional accents by default.
2013-09-17 23:55:39 -04:00
Bailey Ling
e93263538f
automatically provide the red accent.
2013-09-17 23:13:32 -04:00
Bailey Ling
d833718dd9
add test for populate accent colors.
2013-09-17 22:49:28 -04:00
Bailey Ling
6442f01912
populate all modes with accent colors.
2013-09-17 22:45:12 -04:00
Bailey Ling
0a6b833e7c
tests for configuring accents directly.
2013-09-15 22:52:42 -04:00
Bailey Ling
02aa620a92
correctly inject the accent highlight groups.
2013-09-15 22:47:13 -04:00
Bailey Ling
858ef19a6f
fix unit tests.
2013-09-15 12:02:36 -04:00
Bailey Ling
7e7766ee45
introduce accents into the color palette.
2013-09-15 11:59:22 -04:00
Bailey Ling
e31d5f333c
for the sourcerers out there... ( #254 )
2013-09-15 09:22:23 -04:00
Bailey Ling
256a9681cb
document showing/hiding tabline based on tab count. resolves #252 .
2013-09-15 08:52:13 -04:00
Bailey Ling
6f3a4daba4
add support for showing/hiding tabline based on tab count ( #252 ).
2013-09-15 08:49:51 -04:00
Bailey Ling
0b6263844f
add tests for theme generate helper functions
2013-09-15 08:41:48 -04:00
Bailey Ling
c197532b7a
refactor helper function to support skinning left and right side ( #176 ).
2013-09-14 13:07:37 -04:00
Bailey Ling
59e4ab49ce
fix windows path separator parsing ( #251 ).
2013-09-13 19:15:01 +00:00
Bailey Ling
11fe597152
Merge pull request #250 from pydave/fix-help
...
Minor improvements to help
2013-09-13 11:28:57 -07:00
pydave
b60004d504
Fix tagging markup in help
...
Vim help's help-writing describes how to use '' around options and ||
around help links. Use these where possible to give the correct syntax
highlighting (and help vim-scriptease know the correct type to jump to
for ambiguous symbols).
2013-09-13 11:03:57 -07:00
pydave
39ba0b2d6a
Fix help not displaying code correctly
...
airline_powerline_fonts wasn't wrapped in ><, so it displayed as normal
text and threw off the syntax highlighting.
2013-09-13 10:51:48 -07:00
Bailey Ling
8606f3ebc1
use the same fugitive check as the extension.
2013-09-13 04:44:17 +00:00
Bailey Ling
a88996b170
account for possible undefined variable.
2013-09-13 00:43:02 -04:00
Bailey Ling
ebb0040ca8
Merge branch 'fix-quickfix-title' of https://github.com/pydave/vim-airline into pydave-fix-quickfix-title
2013-09-13 00:40:30 -04:00
pydave
979c81c59f
Include the quickfix title in the statusline
...
The quickfix title often has useful information about how it was
invoked. Include it in the statusline.
2013-09-12 19:10:09 -07:00
Bailey Ling
93b9fa7c75
fix spacing when both trailing/indent occurs.
2013-09-11 21:01:25 +00:00
Bailey Ling
61de5d3949
i can't do boolean logic ( #247 ).
2013-09-11 17:55:57 +00:00
Bailey Ling
8886ea0a23
fix guard condition for csv. resolves #247 .
2013-09-11 17:08:10 +00:00
Bailey Ling
1dcdfc502e
set the buffer max a bit more aggressive, add dot prefix/suffix.
2013-09-10 23:50:47 -04:00
Bailey Ling
95f83e8c5a
Merge pull request #245 from farseer90718/master
...
Disable white space detection for unmodifiable buffers
2013-09-10 19:26:00 -07:00
farseer90718
e117af9dd0
Disable white space detection for unmodifiable buffers
2013-09-11 10:08:51 +08:00
Bailey Ling
3f67df6440
Merge pull request #243 from seletskiy/solarized-tty
...
solarized.vim: tty colors (fix #242 )
2013-09-10 15:21:02 -07:00
Bailey Ling
80afce1eb1
exclude quickfix from tabline. resolves #244 .
2013-09-10 19:23:29 +00:00
Stanislav Seletskiy
d2c70194b0
solarized.vim: tty colors ( fix #242 )
2013-09-10 23:50:10 +07:00
Bailey Ling
aabb85ddc2
Merge branch 'master' into dev
2013-09-10 16:05:02 +00:00
Bailey Ling
2702015544
hide errors ( #241 ).
2013-09-10 16:00:31 +00:00
Bailey Ling
3a5a40730a
check guard for all extensions. resolves #241 .
2013-09-10 15:40:54 +00:00
Bailey Ling
bed11010ba
make the separator optional for older vim versions. resolves #239 .
2013-09-10 01:34:35 +00:00
Bailey Ling
55f524de77
support for conditional parts. resolves #238 .
2013-09-08 19:06:57 -04:00
Bailey Ling
4c6aa4401b
check the git/hg root when changing buffers. resolves #237 .
2013-09-08 14:03:49 +00:00
Bailey Ling
b4cff305b1
Merge pull request #234 from ompugao/theme-serene
...
add the old type of 'simple' theme and change the name of it to 'serene'
2013-09-08 06:33:00 -07:00
Shohei Fujii
5e5414dac6
tiny fix
2013-09-08 08:32:40 +09:00
Bailey Ling
71a4b2f595
shorten path name as much as possible.
2013-09-07 19:06:01 +00:00
Bailey Ling
9c416f28d4
tidy up documentation
2013-09-07 18:33:47 +00:00
Bailey Ling
697e08a83c
redefine ffenc as a function ( #235 ).
2013-09-07 18:14:41 +00:00
Shohei Fujii
d26ca50a97
add new theme named 'serene'
2013-09-08 00:19:00 +09:00
Bailey Ling
dbd9121c05
allow collapsing to be configurable. also fix win paths.
2013-09-07 15:09:19 +00:00
Bailey Ling
e1062c5f84
update docs
2013-09-07 13:50:55 +00:00
Bailey Ling
87c999358c
add profile method for mode switching
2013-09-07 13:21:04 +00:00
Bailey Ling
8cfb43fe32
refresh inactive modified colors on theme switch. resolves #233 .
2013-09-07 13:03:15 +00:00
Bailey Ling
d74b3bfdbf
fix inactive modified arrow colors ( #233 ).
2013-09-07 13:00:10 +00:00
Bailey Ling
ad3556d243
remove redundant highlight group.
2013-09-07 03:43:23 +00:00
Bailey Ling
db58294871
Merge branch 'master' into dev
2013-09-07 01:57:39 +00:00
Bailey Ling
bfb091c3ca
minor cleanup of documentation.
2013-09-07 01:52:53 +00:00
Bailey Ling
22f1701a2e
keep fmod as a valid configuration variable.
2013-09-07 01:36:15 +00:00
Bailey Ling
f11e133c1a
take window size into account before restricting the limit.
2013-09-07 01:33:07 +00:00
Bailey Ling
2e46190034
pass in buffers to the formatter.
2013-09-07 00:51:58 +00:00
Bailey Ling
0ac25ecc30
extract buffer name logic into a formatter.
...
hold off on deprecation warnings for now...
2013-09-07 00:43:51 +00:00
Bailey Ling
65efb89145
turn on deprecation warnings.
2013-09-06 21:50:43 +00:00
Bailey Ling
7a2f6525c3
implement customizable file name formatting ( #230 ).
2013-09-06 21:50:06 +00:00
Bailey Ling
b636c28ae2
Merge branch 'master' into dev
2013-09-06 20:33:51 +00:00
Bailey Ling
2391ed0579
show hidden buffers with a different color. resolves #229 .
2013-09-06 20:32:10 +00:00
Bailey Ling
8b71285c6b
fill in inactive modified colors.
2013-09-06 20:32:09 +00:00
Bailey Ling
46db9b9bdf
check existence of inactive modified colors before using them.
2013-09-06 20:32:09 +00:00
Bailey Ling
3c49b9cf3d
use airline_c for better predicability.
2013-09-06 20:32:09 +00:00
Bailey Ling
29972ef857
basic working independent inactive modified highlights.
2013-09-06 20:32:08 +00:00
Bailey Ling
c5a0374b4c
Merge pull request #231 from Pychimp/master
...
Luna now supports Tabline :)
2013-09-06 09:40:14 -07:00
Pychimp
a1eca0a06a
Luna theme support for Tabline
...
Slightly better theming, than the automatically genenrated one by
Airline.
2013-09-06 21:41:22 +05:30
Bailey Ling
e16d728e36
show hidden buffers with a different color. resolves #229 .
2013-09-05 22:34:15 +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
Pychimp
003522a42d
Merge remote-tracking branch 'upstream/master'
...
Merging bling's upstream into my fork
2013-09-05 23:03:45 +05:30
Bailey Ling
e1be8ff22f
just in case...defense coding.
2013-09-05 17:17:04 +00:00
Bailey Ling
fc6cf26ac6
limit the number of buffers displayed. fixes #221 .
2013-09-05 17:07:31 +00:00
Pychimp
210a974980
creating tabline theme
...
WORK IN PROGRESS !!
2013-09-05 22:31:36 +05:30
Bailey Ling
2cfe26f72f
correct docs for the default value.
2013-09-05 15:21:04 +00:00
Bailey Ling
0a3524c6a3
Merge pull request #228 from vhda/master
...
Allow flag configuration of tagbar statusline string
2013-09-05 08:17:57 -07:00
Vitor Antunes
e967d09bf3
Allow flag configuration of tagbar statusline string
2013-09-05 15:42:17 +01:00
Bailey Ling
f57b65d3b8
Merge pull request #225 from seletskiy/solarized-tabline
...
fix solarized colors in tabline
2013-09-05 07:14:22 -07:00
Bailey Ling
11f03baf37
Merge pull request #224 from seletskiy/tabline-detect-modified
...
add tab modification detection
2013-09-05 07:08:25 -07:00
Bailey Ling
9356265d3e
remove repeated comments. add zenburn to auto theme switch.
2013-09-05 14:06:38 +00:00
Bailey Ling
ada6523d59
Merge pull request #223 from paulbdavis/master
...
Added zenburn theme
2013-09-05 07:05:15 -07:00
Bailey Ling
ecd66184f6
init whitespace extension to blank. fixes #226 .
2013-09-05 14:01:57 +00:00
Stanislav Seletskiy
8c32da38c7
add tab modification detection
2013-09-05 12:52:29 +07:00
Stanislav Seletskiy
4596c9ce22
fix solarized colors in tabline
2013-09-05 12:36:38 +07:00
paulbdavis
eb3a70bbf2
added zenburn theme
2013-09-04 20:17:50 -04:00
Bailey Ling
a9b2fd2c41
allow configuration for showing only tabs. resolves #220 .
2013-09-04 20:17:02 +00:00
Bailey Ling
56eaf3733f
add support to show tabline based on minimum buffer count ( #220 ).
2013-09-04 19:53:04 +00:00
Bailey Ling
53364af1e3
support configuring tabline separators independently. resolves #215 .
2013-09-04 19:20:06 +00:00
Bailey Ling
2066410156
use at least 2 spaces to be considered an indent. fixes #177 .
2013-09-04 18:10:45 +00:00
Bailey Ling
00e5e1c20e
support changing how numbers are displayed in tab mode. resolves #217 .
2013-09-04 18:06:57 +00:00
Bailey Ling
9b7191d052
define a new tabline group in the color palette ( #212 ).
2013-09-04 17:23:10 +00:00
Bailey Ling
561422c11c
support customizable tabline themes. resolves #212 .
2013-09-04 15:54:48 +00:00
Bailey Ling
e167e67819
implement showing buffer numbers and modified ( #212 ).
2013-09-04 15:47:05 +00:00
Bailey Ling
c144543d03
fixes color change regression. resolves #218 .
2013-09-04 15:25:55 +00:00
Bailey Ling
15322a26ed
fix split count per tab. resolves #214 .
2013-09-04 02:11:51 +00:00
Bailey Ling
2051dfb9a1
give gui users some love.
2013-09-03 18:48:08 +00:00
Bailey Ling
cf798d8783
no love for gui users...
2013-09-03 18:00:55 +00:00
Bailey Ling
d0579e012c
Merge branch 'dev'
2013-09-03 15:04:31 +00:00
Bailey Ling
bf3f8ba946
mainly for windows, where paths are case insensitive.
2013-09-03 15:04:22 +00:00
Bailey Ling
6261149451
update readme with screenshots.
2013-09-03 10:35:14 -04:00
Bailey Ling
a4deb82ac4
since this is disabled by default, set showtabline automatically.
2013-09-03 14:13:58 +00:00
Bailey Ling
4f76b3a971
add documentation for tabline.
2013-09-03 03:24:47 +00:00
Bailey Ling
cedd91d23a
add support for detecting modified buffers.
2013-09-03 03:24:46 +00:00
Bailey Ling
1e353beaa3
refactor and add excludes support.
2013-09-03 03:24:46 +00:00
Bailey Ling
fbdf39c403
better handling of blank buffers.
2013-09-03 03:24:46 +00:00
Bailey Ling
ffcdd3b1a3
support change filename modifier.
2013-09-03 03:24:46 +00:00
Bailey Ling
345a60fb23
extract tabline colors from the current palette.
2013-09-03 03:24:46 +00:00
Bailey Ling
ecccf51401
implement basic working tabline
2013-09-03 03:24:46 +00:00
Bailey Ling
2f7cf4cffd
minor adjustment to inactive sections.
2013-09-03 03:24:41 +00:00
Bailey Ling
6689aca82b
fixes wrong echoing behavior on stock osx vim. resolves #209 .
2013-09-02 20:12:03 -04:00
Bailey Ling
301fcdc64a
use statusline function for better control.
2013-09-02 18:55:15 +00:00
Bailey Ling
9966b3d9f3
Merge branch 'master' into dev
2013-09-02 18:42:38 +00:00
Bailey Ling
60cc5a5ca1
hide hunks for inactive windows.
2013-09-02 14:48:03 +00:00
Bailey Ling
f6900aeb0a
move highlighter code to correct place and test.
2013-09-02 02:57:32 +00:00
Bailey Ling
4b33adee42
possible fix for exit code ( #79 ).
2013-09-01 22:25:43 +00:00
Bailey Ling
41414a3a84
tests for basic color extraction.
2013-09-01 21:14:25 +00:00
Bailey Ling
7171a169f3
fix regression with ctrlp statusline not changing.
2013-09-01 19:19:34 +00:00
Bailey Ling
c994d08a6d
Merge branch 'master' into dev
2013-09-01 18:55:46 +00:00
Bailey Ling
16028e69dc
document minwidth. resolves #200 .
2013-09-01 14:36:20 -04:00
Bailey Ling
08f87f2103
add base16 for automatic color switching.
2013-09-01 14:25:10 -04:00
Bailey Ling
d5c035bd5c
add screenshot for fine tuned configuration. resolves #204 .
2013-09-01 14:18:48 -04:00
Bailey Ling
d6599d0b3b
update documentation about section functions.
2013-09-01 13:59:22 -04:00
Bailey Ling
92de8ad160
much smarter handling of separators ( #204 ).
2013-09-01 12:20:54 -04:00
Bailey Ling
723e721b32
test for warning sections enabled in active splits.
2013-09-01 10:38:00 -04:00
Bailey Ling
0ad6deb832
Merge branch 'master' into dev
...
Conflicts:
doc/airline.txt
2013-09-01 10:28:04 -04:00
Bailey Ling
c858116f87
hide warning section in inactive splits.
2013-09-01 10:24:24 -04:00
Bailey Ling
62fa3c37e4
give warning section an orange color by default ( #177 ).
2013-09-01 10:06:25 -04:00
Bailey Ling
69f40d62ee
move part declarations back into init.
2013-08-31 22:48:27 -04:00
Bailey Ling
c908d03cc0
document configuring with parts and sections.
2013-08-31 22:34:05 -04:00
Bailey Ling
501e341589
fix error for when keys are not present in unite context.
2013-08-31 21:45:21 -04:00
Bailey Ling
5c0ef8ffbf
improve loading performance
2013-08-31 21:30:49 -04:00
Bailey Ling
f48031cde8
test for window switching and active/inactive splits.
2013-08-31 23:51:55 +00:00
Bailey Ling
660109a61a
minor formatting and clarification in docs.
2013-08-31 19:33:31 -04:00
Bailey Ling
1b91c71fc9
make it possible to declare sections in the vimrc ( #204 ).
2013-08-31 17:42:09 -04:00
Bailey Ling
3b2b224a3b
test removal of funcrefs
2013-08-31 16:28:33 -04:00
Bailey Ling
ded2c2ff7e
remove temp fix for vim-signify. resolves #188 .
2013-08-31 16:23:53 -04:00
Bailey Ling
fd68997398
lazy load variables until needed ( #204 ).
...
this allows users to define section variables in their vimrc.
2013-08-31 12:57:02 -04:00
Bailey Ling
7e1206469c
basic support for hiding based on win size per part ( #200 ).
2013-08-31 12:33:58 -04:00
Bailey Ling
f11f871e39
redefine mode as a raw part.
2013-08-31 12:07:56 -04:00
Bailey Ling
fb711ba9a9
test funcref pipeline.
2013-08-31 12:03:39 -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
96e92232f6
update example to be less dependent on internals.
2013-08-31 15:29:04 +00:00
Bailey Ling
68331a5e4f
Merge branch 'dev'
...
Implements #204 .
Conflicts:
README.md
2013-08-31 15:02:01 +00:00
Bailey Ling
a249c87f61
separators unnecessary in warning section.
2013-08-31 04:54:52 +00:00
Bailey Ling
7bcb9b5fff
more compatible test for older vim version.
2013-08-31 03:41:19 +00:00
Bailey Ling
a13c692529
define default statusline items with empty contents.
2013-08-31 03:35:23 +00:00
Bailey Ling
500ecf7cd0
support for prefixing with a highlight group.
2013-08-31 03:26:59 +00:00
Bailey Ling
d268744077
test the layout config for the default extension.
2013-08-30 22:44:20 -04:00
Bailey Ling
e852fb388f
test util functions
2013-08-30 21:42:42 -04:00
Bailey Ling
b4cd0ae99d
add tests for the builder
2013-08-30 21:28:38 -04:00
Bailey Ling
f5885bf9c2
test creation of sections
2013-08-30 21:15:41 -04:00
Bailey Ling
54ec1f39ca
test some commands
2013-08-30 20:57:34 -04:00
Bailey Ling
0548aeefcb
basic tests and travis integration.
2013-08-30 20:28:35 -04:00
Bailey Ling
cb774fcfd0
use correct direction of separators.
2013-08-30 22:10:47 +00:00
Bailey Ling
c6d996d5ca
define the rest of the extensions.
2013-08-30 22:07:45 +00:00
Bailey Ling
19910a26cb
check existence of all variables.
2013-08-30 21:59:46 +00:00
Bailey Ling
2d049949f0
fix indentation.
2013-08-30 21:58:29 +00:00
Bailey Ling
93eb0389b9
move init code into new file, add section.
2013-08-30 21:56:12 +00:00
Bailey Ling
fa517238c7
introduce parts metadata.
2013-08-30 21:51:10 +00:00
Bailey Ling
1f6b936dd8
add screenshot for automatic truncation.
2013-08-30 17:44:14 -04:00
Bailey Ling
17aa2eaf87
clearer description of what's happening
2013-08-29 17:48:24 -04:00
Bailey Ling
43dfdc6de4
add more obvious instructions for disabling truncation.
2013-08-29 21:29:33 +00:00
Bailey Ling
95f00f2341
change release policy. resolves #201 .
2013-08-29 14:19:11 -04:00
Bailey Ling
fcbf0a4c9c
fix typo
2013-08-29 09:50:48 -04:00
Bailey Ling
29cb8991a6
update readme with link to test plan.
2013-08-29 08:16:22 -04:00
Bailey Ling
6925d567eb
handle reversed highlight groups.
2013-08-28 23:05:28 -04:00
Bailey Ling
a927bf9475
automatic separators.
2013-08-29 00:57:58 +00:00
Bailey Ling
e13a4c8b1a
convert the rest to use define section.
2013-08-29 00:38:33 +00:00
Bailey Ling
bdd758dd38
convert branch/hunks/bufferline to function names.
2013-08-29 00:15:07 +00:00
Bailey Ling
e10b690cdf
convert mode/paste/iminsert parts to function names.
2013-08-29 00:09:22 +00:00
Bailey Ling
8beb275534
fix inactive highlighting colors.
2013-08-28 15:40:09 +00:00
Bailey Ling
386ba6b087
support controlling whether bufferline variables get overwritten. resolves #195 .
2013-08-28 08:21:32 -04:00
Bailey Ling
6c5672d686
update documentation.
2013-08-28 02:36:12 +00:00
Bailey Ling
bf8fa9af03
fill in the rest of the deprecated variables.
2013-08-28 01:40:32 +00:00
Bailey Ling
eadeee316c
fixes a weird error after neobundle installs a new plugin.
2013-08-28 01:34:10 +00:00
Bailey Ling
14656f766b
add deprecation warnings.
2013-08-28 01:28:31 +00:00
Bailey Ling
4b9cda77dd
Merge branch 'dynamic' ( #164 )
2013-08-28 00:00:42 +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
6fc8c00ef1
place syntastic and whitespace into parts.
2013-08-27 23:38:34 +00:00
Bailey Ling
f9718e6b65
place tagbar into parts.
2013-08-27 23:25:55 +00:00
Bailey Ling
24a2035e42
place bufferline into parts.
2013-08-27 23:24:01 +00:00
Bailey Ling
2708951715
place hunks and branch extension into parts.
2013-08-27 23:22:26 +00:00
Bailey Ling
3d3d93e135
update documentation about symbols dictionary ( #193 ).
2013-08-27 20:44:47 +00:00
Bailey Ling
ff975d3d7d
move file encoding/type into a part.
2013-08-27 18:39:34 +00:00
Bailey Ling
2c7e31801f
Merge branch 'symbols'
2013-08-27 18:13:20 +00:00
Bailey Ling
85c1f5ad03
rename fragments to parts.
2013-08-27 18:08:50 +00:00
Bailey Ling
83a1d7e47c
introduce fragments variable to store all possible parts.
2013-08-27 17:47:31 +00:00
Bailey Ling
d5d87d2cdc
reduce variable deprecation.
2013-08-27 14:12:03 +00:00
Bailey Ling
5c1c985502
tweak width truncation values.
2013-08-27 07:55:28 -04:00
Bailey Ling
895743c13d
Merge pull request #191 from zekzekus/master
...
file type check converted to pattern match
2013-08-27 04:17:28 -07:00
Zekeriya Koc
2be030b7e8
file type check converted to pattern match
...
so extension will be enabled for file types like python.django etc.
2013-08-27 10:40:29 +03:00
Bailey Ling
6dd4cd5423
clean up how symbols are defined.
2013-08-26 23:39:25 -04:00
Bailey Ling
fe24924ad3
convert iminsert into a fragment.
2013-08-26 23:07:14 -04:00
Bailey Ling
e919663781
always enable paste detection.
2013-08-26 22:55:11 -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
Bailey Ling
ccb00be717
check both resolved and unresolved paths ( #187 ).
2013-08-26 15:39:27 +00:00
Bailey Ling
04e00d6933
\n only works with double quotes.
2013-08-26 15:32:18 +00:00
Bailey Ling
c42eefbd1d
must use finish to prevent ctrlp from getting source.
2013-08-26 15:17:24 +00:00
Bailey Ling
9194a9f02d
add temporary fix for vim-signify integration ( #188 ).
2013-08-26 13:46:49 +00:00
Bailey Ling
295fda2f74
resolve script path ( #187 ).
2013-08-26 13:27:09 +00:00
Bailey Ling
358d4328f4
support formattable whitespace messages. resolves #185 .
2013-08-26 02:08:04 +00:00
Bailey Ling
6a3b611ba1
show difference between location/quickfix list. resolves #186 .
2013-08-26 01:46:40 +00:00
bling
39c8dcd950
auto-source themes when they are changed.
2013-08-25 21:34:26 -04:00
Bailey Ling
609b4ab573
fix virtualenv_loaded check.
2013-08-25 17:54:00 +00:00
bling
3fba032439
match up gui colors with term colors for dark theme.
2013-08-25 13:11:37 -04:00
Bailey Ling
b7cf6703e5
update pipeline image.
2013-08-25 13:06:13 -04:00
Bailey Ling
2f5ba93d0e
leave the loaded colorscheme alone. fixes #184 .
2013-08-25 12:27:21 -04:00
Bailey Ling
3595debb97
move virtualenv to the right side, so tagbar function names don't shift it all over the place.
2013-08-25 11:51:32 -04:00
Bailey Ling
b9483d8c15
improve builder to support blended sections.
2013-08-25 11:39:42 -04:00
Bailey Ling
59d6b72962
remove redundant args.
2013-08-25 11:39:42 -04:00
Bailey Ling
a91dda01df
improve documentation for writing extensions, also add helper methods.
2013-08-25 15:39:14 +00:00
Bailey Ling
9ca2aa9a8c
Merge pull request #180 from joedicastro/master
...
add virtualenv extension
2013-08-25 08:24:53 -07:00
joe di castro
f37eeeb9af
A better integration of virtualenv to avoid override other extensions
2013-08-25 17:14:12 +02:00
joe di castro
086b924992
Fix error in virtualenv at extensions.vim
...
Fix the global variable name for enable/disable the extension.
2013-08-25 13:38:15 +02:00
Bailey Ling
b34aa78c5a
deprecate airline_detect_iminsert
2013-08-24 22:24:36 -04:00
Bailey Ling
c517f9c6f9
fix potential performance problems with completeopt+=preview
2013-08-24 21:17:16 -04:00
Bailey Ling
42cb6317c2
add base16 support for all variants.
2013-08-24 21:10:11 -04:00
Bailey Ling
f5e6205049
Merge pull request #181 from esn89/master
...
added base16.vim colorscheme
2013-08-24 17:37:26 -07:00
Evan Ng
00a0c52dbd
added base16.vim colorscheme
2013-08-24 14:34:25 -07:00
joe di castro
f0df8825df
add virtualenv extension
2013-08-24 22:49:54 +02:00
Bailey Ling
c98549913c
remove hackfix and use new tagbar statusline integration.
...
requires 0b14e28719
2013-08-24 09:47:16 -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
511411d55e
match up bufferline colors with the gutter.
2013-08-24 01:06:04 -04:00
Bailey Ling
b62634884a
fix bufferline integration
2013-08-24 04:32:44 +00:00
Bailey Ling
b7d0ccdac2
give the light theme inactive mode some more color.
2013-08-24 04:28:37 +00:00
Bailey Ling
74849d4a10
improved unite integration ( #165 ).
2013-08-24 04:08:57 +00: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
2cfab73f1b
fix undotree override bleeding over to the main.
2013-08-24 03:16:14 +00:00
Bailey Ling
98eecd7ae2
add error code 1 for easier override.
2013-08-24 03:02:13 +00:00
Bailey Ling
30c3613924
improve algorithm for inactive colors. resolves #178 .
2013-08-24 02:52:56 +00:00
Bailey Ling
e8d0d24163
prefer function name instead of funcref.
2013-08-24 01:21:09 +00:00
Bailey Ling
95a46cc106
fix whitespace toggle command ( #177 ).
2013-08-23 16:42:55 +00:00
Bailey Ling
ab59dfffe7
Merge pull request #176 from seletskiy/solarized-contrast-fix
...
solarized: fix contrast and warningmsg
2013-08-23 09:37:40 -07:00
Stanislav Seletskiy
5dd1fba954
solarized: fix contrast and warningmsg
2013-08-23 22:09:11 +07:00
Bailey Ling
dfe2273f7c
add missing file highlight group. fixes #175 .
2013-08-22 20:33:12 -04:00
Bailey Ling
c2632f9dbb
introduce g:airline_theme_patch_func ( #173 ).
2013-08-22 19:55:04 -04:00
Bailey Ling
e7ae77c027
add screenshot about pipeline.
2013-08-22 19:24:16 -04:00
Bailey Ling
51110b902b
document the pipeline.
2013-08-22 23:20:53 +00:00
Bailey Ling
de4c7253e2
remove function call, no longer needed.
2013-08-22 21:32:11 +00:00
Bailey Ling
c16d6e69a9
pass arguments into funcrefs properly.
2013-08-22 20:22:54 +00: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
Bailey Ling
db3a4b1df6
add screenshot for customization.
2013-08-22 10:47:19 -04:00
Bailey Ling
fa57fdb634
Merge pull request #174 from jacobwalker0814/powerline_fonts
...
Better toggling of powerline fonts
2013-08-22 07:39:09 -07:00
Jacob Walker
3920817442
Better toggling of powerline fonts
...
+ Check the value of airline_powerline_fonts not just existence
2013-08-22 09:14:17 -05:00
Bailey Ling
0dc3a7913d
fix regression; account for symlinks.
2013-08-22 08:27:44 -04:00
Bailey Ling
fa3cd0fdc1
Merge pull request #172 from mattn/check_loadable
...
Don't use name 'vim-airline' to check loadable extensions.
2013-08-22 05:16:07 -07:00
mattn
cb112cbcb9
Don't use name 'vim-airline' to check loadable extensions. Someone may git clone as another directory.
2013-08-22 13:19:56 +09:00
Bailey Ling
18a6083b0a
Merge pull request #171 from mattn/fix_bundle_paths
...
Fixes bundle paths. For example ftbundle add 'vim-airline/./autoload' in...
2013-08-21 21:12:41 -07:00
mattn
3c7e4b1400
Fixes bundle paths. For example ftbundle add 'vim-airline/./autoload' into RTP.
2013-08-22 13:05:59 +09:00
Bailey Ling
40d6773a22
autoload external extensions ( #170 ).
2013-08-22 02:49:19 +00:00
Bailey Ling
41159bfbc2
improve vim-signify integration ( #169 ).
2013-08-21 23:24:56 +00:00
Bailey Ling
8452029e98
upgrade all funcrefs to support varargs.
2013-08-21 15:14:12 +00:00
Bailey Ling
47de191a80
update doc.
2013-08-21 11:57:23 +00:00
Bailey Ling
dc9a527136
Merge pull request #168 from mattn/strict_color_conversion
...
Strictly color value conversion
2013-08-20 19:11:45 -07:00
mattn
a91b442366
Strictly color value conversion
2013-08-21 10:27:00 +09:00
Bailey Ling
e4a0fe1d9c
move paste symbol variable into extension, update docs.
2013-08-20 23:16:39 +00:00
Bailey Ling
8bc08979d7
inverse doesn't work in all environments, do it manually.
2013-08-20 23:09:40 +00:00
Bailey Ling
0eb6ed1109
Merge pull request #166 from itchyny/paste_symbol
...
paste mark is now a member of extensions
2013-08-20 16:09:36 -07:00
Bailey Ling
75eeeee9a2
Merge pull request #167 from edkolev/master
...
allow ctrlp to use mode colors other than insert's colors
2013-08-20 16:06:49 -07:00
Evgeni Kolev
7a1d7a01b2
allow ctrlp to use mode colors other than insert's colors
...
add global variable g:airline#extensions#ctrlp#color_template which can
hold modes normal|insert|visual|replace as string. ctrlp will use the
given mode's colors if the active theme doesn't define any.
2013-08-20 23:30:46 +03:00
itchyny
20c5c64590
paste mark is now a member of extensions
2013-08-21 05:29:08 +09:00
Bailey Ling
0068093ea0
add screenshot for hunks.
2013-08-20 12:57:50 -04:00
Bailey Ling
a1fc8fe7ff
add spacing around readonly symbol.
2013-08-20 16:13:08 +00:00
Bailey Ling
a04d7c277a
support vim-signify as a hunk source.
2013-08-20 15:43:26 +00:00
Bailey Ling
35db000651
Merge pull request #163 from buztard/fixes/hunks
...
hunks: Display the hunks summary only if Git Gutter is enabled
2013-08-20 08:10:04 -07:00
Bailey Ling
cbb9bea9db
allow warning section to be overwritten ( #136 ).
2013-08-20 15:02:17 +00:00
Bastian Winkler
bbe077037e
hunks: Display the hunks summary only if Git Gutter is enabled
2013-08-20 16:53:29 +02:00
Bailey Ling
e2a758e309
deprecate airline_readonly_symbol. move into gutter by default, so it does not conflict with bufferline logic.
2013-08-20 08:11:38 -04:00
Bailey Ling
fad2c084e7
Merge pull request #161 from itchyny/readonly_symbol
...
readonly mark is now a member of extensions
2013-08-20 05:03:37 -07:00
itchyny
1b6c1bf39c
remove g:airline_detect_readonly
2013-08-20 20:58:29 +09:00
itchyny
57cf78ba77
readonly mark is now a member of extensions
2013-08-20 17:18:01 +09:00
Bailey Ling
fa62cbb5f6
simplify, no globals unless necessary.
2013-08-20 03:44:24 +00:00
Bailey Ling
e65aefac00
deprecate airline_detect_whitespace
2013-08-20 03:39:51 +00:00
Bailey Ling
71c8156f00
deprecate all g:airline_enabled_* variables.
2013-08-20 03:38:02 +00:00
Bailey Ling
494d15232c
reduce pollution of global scope variables
2013-08-20 03:38:02 +00:00
Bailey Ling
ee19bf8825
Merge pull request #158 from BenBergman/only-non-zero-hunks
...
Add option to show only non-zero hunks
2013-08-19 20:37:36 -07:00
Benjamin Bergman
a5f084dc4e
Use extension local variables, and expose hunk_symbols to user
2013-08-19 22:32:14 -05:00
Bailey Ling
987622fc3c
Merge branch 'use_defined_theme'
...
Conflicts:
plugin/airline.vim
2013-08-20 02:06:00 +00:00
Bailey Ling
f780621aa0
support x,y,z theming. resolves #159 .
2013-08-20 01:56:13 +00:00
Bailey Ling
54d3605497
fix color switching again. vimrc setting should override.
2013-08-20 01:47:24 +00:00
mattn
715cf33d56
Prior checking user defined theme
2013-08-20 10:46:44 +09:00
Benjamin Bergman
4d9a0e257f
Add option to show only non-zero hunks
2013-08-19 17:28:42 -05:00
Bailey Ling
dd5dbdd242
undo use of inverse; caused problems with empty sections.
2013-08-19 19:07:31 +00:00
Bailey Ling
f773325fa4
allow specific whitespace checks to be enabled/disabled.
2013-08-19 18:19:26 +00:00
Bailey Ling
ec20ea06c3
fix autoselection of theme for certain startup configs.
2013-08-19 18:17:06 +00:00
Bailey Ling
de69bba26e
re-enable gitgutter integration with new upstream function. resolves #154 and #153 .
2013-08-19 16:03:10 +00:00
Bailey Ling
2a02afb918
default whitespace symbol to non-unicode unless powerline fonts are enabled ( #155 ).
2013-08-19 13:33:13 +00:00
Bailey Ling
16f2d7013d
disable hunks by default, a couple bugs remaining.
2013-08-19 13:22:24 +00:00
Bailey Ling
da4d0730d3
improve gitgutter integration and algorithm
2013-08-18 21:39:27 +00:00
Bailey Ling
aa4c9977df
temp disable, some errors weird cases
2013-08-18 21:08:00 +00:00
Bailey Ling
dad0d5a8d8
add gitgutter integration.
2013-08-18 21:02:33 +00:00
Bailey Ling
8f0401580b
fix airline theme not getting loaded on startup ( #151 ).
2013-08-18 19:02:14 +00:00
Bailey Ling
9d65486063
improve undotree integration; use exposed statusline functions.
2013-08-18 18:50:22 +00:00
Bailey Ling
7e563f9c74
detect branch when changing directories. resolves #138 .
2013-08-18 18:34:02 +00:00
Bailey Ling
60dd8ed0a8
fix error on startup in certain configurations ( #150 ).
2013-08-18 18:13:34 +00:00
Bailey Ling
0a88fd81d3
update branch head all the time ( #42 ).
2013-08-18 17:22:35 +00:00
Bailey Ling
e26165caa6
support base16 variant of solarized. resolves #148 .
2013-08-18 14:13:47 +00:00
Bailey Ling
38b8520a37
fix arrows being out of sync.
2013-08-18 05:34:26 +00:00
Bailey Ling
bcba04e20c
account for empty vimrc with no colorscheme set.
2013-08-18 04:56:38 +00:00
Bailey Ling
88b910d959
fix getwinvar on older 7.3 builds. resolves #147 .
2013-08-18 04:50:48 +00:00
Bailey Ling
03c08e819c
autoload themes to match colorscheme. resolves #145 .
2013-08-18 04:44:13 +00:00
Bailey Ling
b4d7531c05
fix error when using simple theme
2013-08-18 04:22:36 +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
f49038fba6
clean up builder a bit, use inverse
2013-08-17 23:31:51 +00:00
Bailey Ling
9c02d87f17
Merge branch 'dynamic'
2013-08-17 22:39:24 +00:00
Bailey Ling
f938159d0d
fix inactive responding to modified, fix trimming
2013-08-17 22:03:50 +00:00
Bailey Ling
840f78607e
optimize funcrefs for 7.4
2013-08-17 17:50:41 -04:00
Bailey Ling
e7c5bbb671
remove auto prefix. optimize getwinvar
2013-08-17 17:39:36 -04:00
Bailey Ling
b19a29675d
fix list being unbounded
2013-08-17 17:10:06 -04:00
Bailey Ling
3814c21125
optimize newing up the builder
2013-08-17 16:44:53 -04:00
Bailey Ling
6bda68e35c
replace all obsolete color groups in all themes
2013-08-17 19:20:40 +00: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
Bailey Ling
ca39454ecf
add example.vim extension ( #134 )
2013-08-16 18:04:03 +00:00
Bailey Ling
c017c9fbb3
miscellaneous minor changes
2013-08-16 14:57:48 +00:00
Bailey Ling
6e515a4627
remove redundancy from the map
2013-08-16 14:57:48 +00:00
Bailey Ling
30adb973fc
move getwinvar over
2013-08-16 14:57:47 +00:00
Bailey Ling
0e936d0b9a
introduce util file
2013-08-16 14:57:47 +00:00
Bailey Ling
af7dfc8677
update separator colors when mode changes
2013-08-16 14:57:47 +00:00
Bailey Ling
47c80c31da
reload separator colors on demand
2013-08-16 14:57:47 +00:00
Bailey Ling
f477520ba8
move builder to its own file
2013-08-16 14:57:47 +00:00
Bailey Ling
703045a7e6
allow warning section to collapse away
2013-08-16 14:57:47 +00:00
Bailey Ling
8b92cae46c
basic working dynamic statusline builder
2013-08-16 14:57:47 +00:00
Bailey Ling
81c49292d3
add shortform into doc for easy copy/pasting
2013-08-16 14:57:36 +00:00
Bailey Ling
6269632164
check existence of airline augroup before overwriting statusline
2013-08-15 16:05:12 -04:00
Bailey Ling
12fc908f43
add support for the command-line window
2013-08-15 15:54:14 -04:00
Bailey Ling
91904d942e
check initialized so autoloaded plugins happen first
2013-08-15 15:02:54 -04:00
Bailey Ling
f5afe4bcac
Merge pull request #141 from chrisbra/master
...
added airlinetoggle function
2013-08-15 11:58:28 -07:00
Christian Brabandt
8ec527465d
added airlinetoggle function
2013-08-15 20:48:59 +02:00
Bailey Ling
91ca5a77ae
add extensions/integration section with screenshots
2013-08-14 14:29:19 -04:00
Bailey Ling
1fa5e16558
fix right alignment for help window
2013-08-14 00:28:13 -04:00
Bailey Ling
6a0163104a
unbreak csv extension. redefine gutter as the middle.
2013-08-14 03:53:29 +00:00
Bailey Ling
b7131d8b51
add section about writing extensions ( #134 ).
2013-08-14 03:07:01 +00:00
Bailey Ling
7e63d9ddd9
rename variable so it's more obvious
2013-08-14 02:36:09 +00:00
Bailey Ling
10e8146d7b
improve docs, remove deprecation warnings
2013-08-14 02:32:05 +00:00
Bailey Ling
5b840ae436
fixes error when colorscheme is used in gvimrc ( #126 ).
2013-08-13 22:10:44 -04:00
Bailey Ling
f66cb47d29
fix up csv integration so it only applies to csv filetypes
2013-08-13 21:52:31 -04:00
Bailey Ling
509c9f68a9
rename csv variables, add extensions section for doc
2013-08-13 21:47:08 -04:00
Bailey Ling
944ed9a8b9
Merge pull request #133 from edkolev/master
...
Default to 16 colors for solarized theme unless g:solarized_termcolors i...
2013-08-13 18:33:21 -07:00
Bailey Ling
4fe76c0b5a
Merge pull request #137 from chrisbra/master
...
added csv extension
2013-08-13 15:21:00 -07:00
Christian Brabandt
c5e21aa170
added csv extension
2013-08-14 00:11:51 +02:00
Bailey Ling
9dd682212f
make warning a real section. references #136 .
2013-08-13 20:43:04 +00:00
Evgeni Kolev
284f8efd58
Default to 16 colors for solarized theme unless g:solarized_termcolors is 256
2013-08-13 09:29:28 +03:00
Bailey Ling
d20bdc54e5
Merge pull request #132 from monstermunchkin/master
...
update tagbar extension
2013-08-12 08:20:04 -07:00
Thomas Hipp
222adbfeaa
update tagbar extension
...
Allow the tagbar extension to be disabled.
2013-08-12 17:03:15 +02:00
Bailey Ling
7524110de9
fix possible undefined variable
2013-08-12 01:40:18 +00:00
Bailey Ling
8d4eb3c574
improve vimshell integration; support interactive modes
2013-08-12 01:15:28 +00:00
Bailey Ling
c7cc63fb62
remove support for inactive modified
...
statuslines don't actually get evaluated in inactive splits, so this feature never worked properly anyways.
2013-08-11 16:13:04 -04:00
Bailey Ling
14dacaab68
improve bufferline integration; revert to default in inactive splits.
2013-08-11 19:48:14 +00:00
Bailey Ling
2413babe8b
remove checks for airline_active, it is always true
2013-08-11 15:24:08 +00:00
Bailey Ling
11e7e67d8d
introduce g:airline_inactive_collapse. resolves #129 .
2013-08-11 14:30:02 +00:00
Bailey Ling
2a10bfc32f
make the mode and branch text window local
2013-08-11 13:42:47 +00:00
Bailey Ling
5d92aaecaa
update documentation
2013-08-10 23:22:49 +00:00
Bailey Ling
384150ecd7
extract iminsert out of core into an extension
2013-08-10 17:02:48 -04:00
Bailey Ling
52a4a8ea7b
use hack fix for now. resolves #105 .
2013-08-10 16:47:17 -04:00
Bailey Ling
3dc55eda4e
enable tagbar only for active windows
2013-08-10 16:43:27 +00:00
bling
e1ff1edcf0
Merge branch '127'
...
Resolves #127 .
Conflicts:
autoload/airline.vim
2013-08-10 12:15:14 -04:00
Bailey Ling
61a39a99ac
add ability to override left/right sides independently
2013-08-10 16:05:49 +00:00
Bailey Ling
8539ac46a6
allow extensions to reload when color scheme changes. resolves #128
2013-08-10 15:50:27 +00:00
bling
cf9028df9f
fixes error when colorscheme declared in gvimrc. resolves #126 .
2013-08-10 11:46:12 -04:00
Bailey Ling
e67fa32fd9
extract matching background colors for file indicator
2013-08-10 13:43:12 +00:00
Bailey Ling
1d46c5874b
fix warning separator colors out of sync between modes
2013-08-10 13:17:32 +00:00
Bailey Ling
2ca403053c
fix whitespace indent setting changed incorrectly when toggling
2013-08-10 13:09:52 +00:00
Bailey Ling
52b4100a4f
reload separator color when colorscheme changes
2013-08-09 20:50:53 -04:00
Bailey Ling
320f50c6f9
extract a line number for mixed indents
2013-08-09 20:23:03 -04:00
Bailey Ling
44db0e0c70
fix newb mistake. resolves #125 .
2013-08-09 20:52:18 +00:00
Bailey Ling
aabb061470
temp disable
2013-08-09 20:43:12 +00:00
Bailey Ling
35539b2667
customizable empty branch message. closes #121 .
2013-08-09 20:12:56 +00:00
Bailey Ling
2ba7ce02ec
add powerline separator for warning section
2013-08-09 20:08:57 +00:00
Bailey Ling
f8b2b7be23
add support for select mode. resolves #123 .
2013-08-09 08:05:08 -04:00
Bailey Ling
4485b03e51
add whitespace toggle command
2013-08-08 14:42:27 +00:00
Bailey Ling
57955b3b86
add the most common problems into the documentation ( #112 ).
2013-08-08 00:23:43 -04:00
Bailey Ling
7eaf6281fb
fix mode separator colors for ubaryd and laederon
2013-08-08 00:10:08 -04:00
Bailey Ling
edcf79c509
add bitdeli badge
2013-08-07 16:38:50 -04:00
Bailey Ling
f440ad3509
exclude readonly files from whitespace checking
2013-08-06 22:29:03 -04:00
Bailey Ling
6ced8b8ce6
add line number for trailing spaces
2013-08-06 22:02:53 -04:00
Bailey Ling
0a015e5305
use autocmds to detect whitespace, shouldn't need max anymore
2013-08-06 21:48:00 -04:00
Bailey Ling
d2c069b971
make syntastic use the warning section
2013-08-06 21:42:32 -04:00
Bailey Ling
7fb9bcf2c9
improve whitespace detection; add support for mixed indents
2013-08-07 00:48:53 +00:00
Bailey Ling
f86eafb674
reorder so that statusline funcrefs get an up to date active flag
2013-08-07 00:47:31 +00:00
Bailey Ling
528f56472c
introduce new warning section, and refactor whitespace into an extension which uses it
2013-08-07 00:17:33 +00:00
Bailey Ling
4d67c802b3
Merge pull request #120 from farseer90718/master
...
add white space detection
2013-08-06 16:35:24 -07:00
Bailey Ling
26c7c9fca2
move default ctrlp theme to dark. autogenerate for everything else if not already defined.
2013-08-06 23:29:06 +00:00
Bailey Ling
42260bc35f
can't forget about solarized
2013-08-06 21:53:14 +00:00
Bailey Ling
ae587c3dcb
add ctrlp support for most themes
2013-08-06 20:52:52 +00:00
Bailey Ling
772fbc18e7
indent
2013-08-06 19:23:07 +00:00
farseer90718
164aa6f73c
add white space detection
2013-08-07 00:17:57 +08:00
Bailey Ling
df72012e41
fix commandt integration
2013-08-06 15:41:37 +00:00
Bailey Ling
c1e74d72e0
Merge branch 'ext'
...
Conflicts:
autoload/airline/extensions.vim
2013-08-06 15:26:32 +00:00
Bailey Ling
40614ef66b
Merge pull request #118 from cg433n/master
...
Reload the solarized airline theme on the Colorscheme event.
2013-08-06 08:17:47 -07:00
Christopher.Green
e0f5bcc06a
Reload the solarized airline theme on the Colorscheme event.
2013-08-06 07:25:21 -07:00
Bailey Ling
835f718cb6
reload colors when tomorrow theme changes
2013-08-06 08:31:45 -04:00
Bailey Ling
729f9e8354
use tagbar provided statusline func
2013-08-06 08:12:03 -04:00
Bailey Ling
e858eaa990
fix branch detection
2013-08-06 00:42:59 -04:00
Bailey Ling
990e3fc949
make branch/bufferline default statusline rather than overrides
2013-08-06 00:35:07 -04:00
Bailey Ling
8677fa875b
minor optimization
2013-08-06 03:57:02 +00:00
Bailey Ling
ac211a58eb
extract all plugin related functionality out of the core
2013-08-06 03:34:45 +00:00
Bailey Ling
98f3d13705
do not overwrite when left only
2013-08-06 03:33:25 +00:00
Bailey Ling
48f0e3652c
extract tagbar
2013-08-06 03:16:49 +00:00
Bailey Ling
9c960875fe
extract fugitive/lawrencium
2013-08-06 03:07:01 +00:00
Bailey Ling
11fd24b3ef
extract syntastic
2013-08-06 02:57:06 +00:00
Bailey Ling
f15ac2146f
make bufferline almost entirely self contained
2013-08-06 02:44:34 +00:00
Bailey Ling
41325bd08c
extract bufferline into its own file
2013-08-06 00:29:30 +00:00
Bailey Ling
0758e2a88c
fix regression, allow statusline funcrefs to execute
2013-08-05 20:31:10 +00:00
Bailey Ling
238ab44489
invoke funcrefs a different way, resolves #115 .
2013-08-05 20:16:52 +00:00
Bailey Ling
4ae9484075
Merge pull request #116 from LeszekSwirski/empty-color-fix
...
Make themes#generate_color_map robust against undefined highlights
2013-08-05 11:03:48 -07:00
Leszek Swirski
216bcf1088
Make themes#generate_color_map robust against undefined highlights
2013-08-05 18:44:12 +01:00
Bailey Ling
61c95d4103
update readme, link to popular colorschemes
2013-08-04 20:06:24 +00:00
Bailey Ling
e84aed79a6
use directory group instead of spell to support gui colors
2013-08-04 19:51:41 +00:00
Bailey Ling
cf3473a8a3
pick highlight groups that are also compatible with the light variant
2013-08-04 19:44:57 +00:00
Bailey Ling
99179d806b
tweak tomorrow colors, covers all dark themes pretty well. resolves #67 and #113 .
2013-08-04 19:37:30 +00:00
Bailey Ling
a5fe4d9972
extract colors from normal if undefined ( #67 , #113 ).
2013-08-04 19:10:44 +00:00
Bailey Ling
2bedd8ef84
first pass at tomorrow themes ( #67 , #113 )
2013-08-04 16:18:47 +00:00
Bailey Ling
d1d65dd41a
add modified colors to jellybeans
2013-08-04 16:18:47 +00:00
Bailey Ling
b25dacef44
Merge pull request #114 from p-m-p/master
...
Add bubblegum theme
2013-08-04 06:54:36 -07:00
Phil Parsons
533a610aa0
Add bubblegum theme
2013-08-04 11:54:46 +01:00
Bailey Ling
926be0bd8a
collapse section when it is empty text ( #70 ).
2013-08-04 01:37:34 +00:00
Bailey Ling
e4d5f4cfb1
add jellybeans theme using new highlight group methods
2013-08-04 01:28:20 +00:00
Bailey Ling
9f04ef3170
fix ctrlp statusline getting overwritten via cursormove
2013-08-03 23:44:50 +00:00
Bailey Ling
10fa73996b
loop differently so it works in 7.2
2013-08-03 20:56:37 +00:00
Bailey Ling
406fb2164d
swap features and rationale in readme
2013-08-03 20:55:58 +00:00
Bailey Ling
e446f6a2fb
fix placement of readonly, add support for startify
2013-08-03 16:06:29 +00:00
Bailey Ling
41a739d602
move syntastic implementation out of core
2013-08-03 11:23:45 -04:00
Bailey Ling
94895de8e2
rename window_override_funcrefs to statusline_funcrefs
2013-08-03 11:14:02 -04:00
Bailey Ling
257a9f2ed9
move updating external values into extensions
2013-08-03 10:59:34 -04:00
Bailey Ling
c655bdc233
move helper functions into update statusline, they're not used anywhere else
2013-08-03 10:58:25 -04:00
Bailey Ling
1d07110af3
Merge pull request #111 from bootleq/blank-section
...
Do not render spare spaces for empty sections.
2013-08-02 20:48:24 -07:00
bootleq
410792ed48
Remove space-padding works outside of get_section.
2013-08-03 10:09:55 +08:00
bootleq
5ebb0daf93
Add prefix/suffix options for s:get_section.
...
For output format other than default 1 space padding.
Need this to keep original section_c style:
let sl.=l:status_color.' %<'.s:get_section(a:winnr, 'c').' '
2013-08-03 10:09:55 +08:00
bootleq
dcb7196097
Add padding spaces for section in s:get_section.
...
When section text is non-empty, pad spaces before/after it.
2013-08-03 10:09:49 +08:00
Bailey Ling
5099fbf1b9
move tagbar definition into predefined section
2013-08-03 00:51:24 +00:00
Bailey Ling
9844f14f66
change license to MIT
2013-08-02 19:43:24 +00:00
Bailey Ling
39e0df4b2d
fix typo of typo fix
2013-08-02 17:59:52 +00:00
Bailey Ling
d833ae041d
fix typos in readme
2013-08-02 08:21:47 -04:00
Bailey Ling
72852fa665
update readme. resolves #109 .
2013-08-02 08:11:53 -04:00
Bailey Ling
577e50d788
first class integration with tagbar
2013-07-31 20:07:14 +00:00
Bailey Ling
6df46d8d22
ensure global variables are always there ( #108 ).
2013-07-31 19:37:35 +00:00
Bailey Ling
d107c4fd5d
account for plugins which use eventignore. resolves #82 .
2013-07-31 17:37:00 +00:00
Bailey Ling
d56b9bbfcd
modify active window algorithm, resolves #106 .
2013-07-31 14:31:51 +00:00
Bailey Ling
8f52831cc0
Merge pull request #103 from PhoSor/master
...
add ctrlp theme for molokai
2013-07-29 05:09:54 -07:00
Andrey Sorokin
72c43838d9
add ctrlp theme for molokai
2013-07-29 17:49:06 +06:00
Bailey Ling
e4558340b0
keep left override styles intact when inactive; use powerline separator for iminsert
2013-07-28 19:25:48 -04:00
Bailey Ling
86ff404748
Merge pull request #101 from PhoSor/master
...
add molokai theme
2013-07-28 06:12:40 -07:00
Andrey Sorokin
96a9ef87ef
add molokai theme
2013-07-28 17:12:45 +06:00
Bailey Ling
240feae0f2
Merge pull request #100 from markstory/solarized-light
...
Solarized light
2013-07-27 21:08:41 -07:00
Mark Story
200b54bb93
Improve coloring on branch bar & encoding segments.
...
Make the colors for these segments match the general look and feel of
solarized light.
2013-07-27 23:16:18 -04:00
Mark Story
dadcb3e2c3
Fix typo in blue hex code.
2013-07-27 23:05:24 -04:00
Bailey Ling
161daa7942
deprecate fugitive variable names in favour of scm-agnostic variable names
2013-07-27 18:15:00 -04:00
Bailey Ling
0c7687889e
reduce complexity of themes for ctrlp, fix luna right separator color
2013-07-27 17:54:05 -04:00
Bailey Ling
60cba9cfc4
refactor ctrlp themes with generate_color_map helper function
2013-07-27 20:16:13 +00:00
Bailey Ling
f0982fa310
Merge pull request #99 from Pychimp/master
...
updated few values and added ctrlp theme
2013-07-27 12:44:11 -07:00
Pychimp
20372d5fb7
updated few values and added ctrlp theme
2013-07-28 00:21:58 +05:30
Bailey Ling
d1ee91eadf
update the ctrlp theme when the airline theme changes
2013-07-27 14:02:43 +00:00
Bailey Ling
4683616391
Merge pull request #98 from zenbro/master
...
add ctrlp theme for wombat
2013-07-27 06:51:31 -07:00
zenbro
8afd815fe1
add ctrlp theme for wombat
2013-07-27 13:04:22 +04:00
Bailey Ling
68ac156256
make ctrlp themeable ( #97 ).
2013-07-26 17:21:43 +00:00
Bailey Ling
b1975b4eb8
Merge pull request #91 from crazymaster/master
...
fix for out of sync statusline when buffers are unloaded.
2013-07-26 05:13:23 -07:00
Bailey Ling
6bfc2f9631
include percentage, line/column numbers for help windows
2013-07-26 12:12:39 +00:00
crazymaster
90b32f5c26
Remove unnecessary autocmds
2013-07-26 10:47:28 +09:00
Bailey Ling
77a177cc01
add more info about theming algorithm, add VAM to readme
2013-07-25 23:21:26 +00:00
Bailey Ling
c095a48aad
add documentation about airline_exclude_funcrefs
2013-07-25 22:48:15 +00:00
Bailey Ling
bce1632c42
clearly separate core functionality from implementation
2013-07-25 22:29:18 +00:00
Bailey Ling
ec86f66510
move paste detection into statusline and check enabled
2013-07-25 22:09:17 +00:00
Bailey Ling
8819ab272d
add commandt support. resolves #92 .
2013-07-25 21:54:55 +00:00
Bailey Ling
950eb41ab6
Merge pull request #96 from zenbro/master
...
add wombat theme
2013-07-25 11:50:16 -07:00
zenbro
1f292621d0
add wombat theme
2013-07-25 22:23:47 +04:00
Bailey Ling
fd0628b188
add help support. resolves #95 .
2013-07-25 17:49:03 +00:00
Bailey Ling
3bd1df94bc
Merge branch 'master' of github.com:bling/vim-airline
2013-07-25 16:55:52 +00:00
Bailey Ling
407d8728c0
iterate available keys for each mode
2013-07-25 14:23:24 +00:00
Bailey Ling
2d63123260
Merge pull request #94 from Pychimp/master
...
Added Luna compatiable vim-airline theme
2013-07-25 07:00:10 -07:00
Bailey Ling
c00cd767d0
fix statusline not getting updated with some plugins ( #91 ).
2013-07-25 13:58:48 +00:00
Pychimp
1bc2cddc74
Added Luna compatiable vim-airline theme
2013-07-25 19:11:03 +05:30
Bailey Ling
dcc0c7c84b
avoid using funcrefs in the core implementation ( #91 ).
2013-07-25 12:00:17 +00:00
Bailey Ling
34675c5d9b
default iminsert to false
2013-07-25 01:48:23 +00:00
crazymaster
fbb7d1512e
Fix update's condition
2013-07-25 00:53:35 +09:00
Bailey Ling
443cd8d9c8
Merge pull request #90 from klen/master
...
Support &iminsert
2013-07-24 06:14:39 -07:00
Kirill Klenov
efa3773bcf
Merge branch 'master' of github.com:klen/vim-airline
2013-07-24 15:36:20 +04:00
Kirill Klenov
c16cafb2bb
Support &iminsert.
2013-07-24 15:35:31 +04:00
Bailey Ling
ef518e5604
Merge pull request #89 from crazymaster/master
...
Fix vimfiler support
2013-07-24 04:26:18 -07:00
crazymaster
5951cc7ce3
Fix vimfiler support
2013-07-24 18:02:38 +09:00
Bailey Ling
dd6e952c60
update readme to demo gif
2013-07-23 23:31:15 -04:00
bling
44ac11bed3
fully document the dark theme. resolves #88 .
2013-07-23 23:00:23 -04:00
Bailey Ling
8d44832c1c
Merge pull request #87 from crazymaster/master
...
Add vimfiler support
2013-07-23 10:31:53 -07:00
crazymaster
0c88e5a7cd
Add vimfiler support
2013-07-24 01:22:43 +09:00
Bailey Ling
5fd3105aae
update externals after shell commands. resolves #85 and #42 .
2013-07-23 14:44:05 +00:00
Bailey Ling
221864cfdc
make modified/paste detection an option
2013-07-22 21:23:41 +00:00
Bailey Ling
fce0e3e8da
use only a slight accent for the active buffer in the bufferline
2013-07-21 21:29:31 -04:00
Bailey Ling
ee90b7c6b3
add colorized support for selected buffers with bufferline
2013-07-20 22:31:05 -04:00
Bailey Ling
8a2890625b
prepare for bufferline highlight support
2013-07-20 22:22:16 -04:00
Bailey Ling
043256f96b
add reference to the FAQ in the vim doc ( #81 ).
2013-07-20 13:24:15 +00:00
Bailey Ling
70dd963c8e
Merge pull request #80 from bjauy/lawrencium
...
Add lawrencium support
2013-07-18 05:27:06 -07:00
maciej
645c67731c
Add lawrencium support
2013-07-18 07:56:29 +02:00
Bailey Ling
6388005c46
allow g: gutter to be specified, integrate with vimshell, use get() for :w variables
2013-07-17 22:28:21 -04:00
Bailey Ling
1385667168
add old vim-powerline font symbols into the doc. resolves #76 .
2013-07-17 19:09:18 +00:00