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