Commit Graph

2147 Commits

Author SHA1 Message Date
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