Commit Graph

1430 Commits

Author SHA1 Message Date
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
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
kazukazuinaina
be85daa23f fix untrack branch check about gina 2019-12-19 15:43:50 +09: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
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
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
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
c24f3c7c4d
whitespace: do not detect '=======' as conflict marker for rst files
closes #2014
2019-12-10 16:14:08 +01:00
kazukazuinaina
b1ca153b72 add gina's some extensions
add gina-ls
2019-12-06 17:26:08 +09: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
kazukazuinaina
17ec87f503 substitute/NERDtree/NERDTree 2019-11-15 15:50:36 +09: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
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
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
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
6d665580a3
term: allow to disable the term extension
closes #1981
2019-10-16 18:07:35 +02: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
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
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
Liu, Joey
67a97c1ea0 add neoterm support
it shows neoterm_id on a inactive neoterm window
2019-08-02 13:23:42 -04:00