Commit Graph

1794 Commits

Author SHA1 Message Date
Utkarsh Verma
32d28421fe
coc: Show line number for warnings and errors. 2021-02-28 13:00:17 +05:30
kazukazuinaina
f107396118 [Refactor] Functionalization of branch extension 2021-02-14 21:22:11 +09:00
Christian Brabandt
c01977d027
Merge pull request #2326 from kdwarn/tagbar-search-method
Add searchmethod setting for tagbar extension
2021-02-05 08:19:55 +01:00
David Briscoe
ecba959f28 Write msgfmt output to /NUL
Fix NUL file created when opening a .po file.

Using -o NUL actually creates a file called NUL in the current
directory. Using /NUL doesn't create one in C:\ (the drive the file is
located on) or any visible drive.

Despite msgfmt being able to create the file NUL (which isn't supposed
to be allowed), it's difficult to delete NUL (windows explorer can't
handle it but WSL's unix rm can remove it).

Test
Open po file and see the same warnings as before, but no NUL file
created.
Using msgfmt.exe provided by git (installed via scoop).
2021-02-04 16:13:07 -08:00
Kris Warner
a6dd1c3887 Add searchmethod setting for tagbar extension
The current implementation of tagbar does not allow for setting the
search-method in the `tagbar#currenttag` function. In
https://github.com/preservim/tagbar/pull/696, tagbar implemented this,
which has three options: nearest, neartest-stl, and scoped-stl.

The reason for adding this - for me, at least - is to use the scoped-stl
option, so that the statusline will display the proper function when
there are nested functions. (Otherwise, once you go past a nested
function, tagbar#currenttag still returns the nested function rather
than the function it was nested in.)
2021-02-04 12:18:02 -05:00
Jan-Willem van der Sijp
b9905f2445 Ensure correct checking of LSP support on neovim
Check for differing neovim versions with different APIs for LSP.

Fixes #2324

Consists of two tests:

1. Before extension load, test if this is neovim and whether this neovim
   supports LSP
2. When getting diagnostic counts, test whether a language server is
   attached to the current buffer
2021-02-03 12:11:53 +01:00
Christian Brabandt
50dfca52ed
nvimlsp: correctly call the lua functions for nvimlsp
closes #2324

Note: seems like one needs to call v:lua.vim.lsp.buf_get_clients() and
even then some older neovims do not understand that. So wrap it around
an exists() call and hope this works for all neovims.
2021-02-02 12:25:16 +01:00
Christian Brabandt
bffa7a4d23
nvimlsp: do not check for :LspInstallInfo
nvimlsp removed the :LspInstallInfo command. So instead check explicitly
for neovim for enabling the nvimlsp extension.

In the extension itself check that at least one LSP is attached to the
buffer before returning warning and error messages.

closes #2323
2021-02-02 10:07:51 +01:00
David Briscoe
74f1f0d990 Return nothing when there is no lsp-progress
Fix: a literal '0' appears after filename on older versions of vim-lsp.

0c8164b1b3 added support for showing lsp
progress, but didn't always explicitly return a value. Vim uses 0 as a
return value when none are supplied, so when used with an older version
of vim-lsp that doesn't have the progress feature a 0 appeared in the
statusline.
2021-01-13 15:25:45 -08:00
Christian Brabandt
0ca9576331
Merge pull request #2313 from DunZzzz/patch-1
Support Vue.js file extension in jsformatter
2021-01-10 19:36:20 +01:00
Emilien Jégou
36f14c478a Support Vue.js file extension in jsformatter
Included `.vue` extension to jsformatter for supporting Vue.js files. Vue files follows the same path resolution as js files: https://vue-loader.vuejs.org/spec.html#src-imports

Case sensitive comparison for jsformatter
2021-01-10 13:01:41 +01:00
Jero Sutlovic
1651762e10
Modified dark.vim commandline gui colors
Update commandline gui colors to match the commandline cterm colors
2021-01-08 15:26:18 +01:00
Christian Brabandt
0eb2ed4488
Merge pull request #2315 from micchy326/impl_vim_lsp_progress
impl vim-lsp progress
2021-01-04 08:38:43 +01:00
Christian Brabandt
4d284a677c
searchcount: Add leading space
closes #2314 #2154

Add a leading space before the searchcount statistics. Note, that this
uses a non-breaking space, because it looks like Vim is stripping aways
leading space characters (see vim/vim#1431)
2021-01-02 20:25:00 +01:00
Christian Brabandt
8a60582527
init: section_y includes missing endofline and BOM 2021-01-02 19:26:44 +01:00
micchy326
dad2c03cf5 fix vint 2021-01-02 17:01:06 +09:00
micchy326
0c8164b1b3 impl vim-lsp progress 2021-01-02 16:51:16 +09:00
Bailey Ling
5601c0928e Happy new year! 2021-01-01 12:57:00 +00:00
roachsinai
505a7d75ca tabline: add command for skip to tenth tab/buffer. 2020-12-30 00:21:43 +08:00
Christian Brabandt
2cea83eb88
whitespace: skip trailing ws test for mail filetypes 2020-12-06 09:46:14 +01:00
Christian Brabandt
9ce6f96f60
highlighter: windows terminal uses $WT_SESSION 2020-12-04 09:43:01 +01:00
Christian
06117a61e1
highlighter: windows terminal is not old win_term 2020-11-27 09:49:17 +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
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
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
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
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
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
Nick Friday
193460137a [add#keymap] more customization
Added more customization for keymap extension
2020-11-04 20:46:00 +03: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
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
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
kazukazuinaina
0a5753813c [fix] Variable Scope in ctrlspace's extension 2020-10-10 02:08:23 +09:00
MuhammadMouradG
f117de553b
Fix buffer order in tabline with CtrlSpace plugin 2020-10-06 12:36:28 +00: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
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
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
kazukazuinaina
2a69254d21 [add] support battery.vim 2020-09-08 01:26:24 +09:00
Paul Walker
dd5a3c91a1 vim-magit: Can't use an empty dictionary key 2020-09-03 10:51:23 +01: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
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
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
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
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
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
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
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
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
Christian Brabandt
0a0d61af6c
fzf: do not check for loaded fzf
closes #2163
2020-07-08 08:47:59 +02:00
nickspoons
fab4a02838 Add OmniSharp extension to display server status 2020-07-08 16:32:07 +12: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
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
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
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
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
kazukazuinaina
fab1ee3117 [update] license's year in airline's extension 2020-06-11 05:26:04 +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
kazukazuinaina
b929452f32 [add] unite and denite's config
[add] document
2020-05-29 18:20:01 +09: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
a133605d01 [refactor] vimagit's extension 2020-05-21 15:19:25 +09:00
kazukazuinaina
68024ec33d fix missing endif 2020-05-21 01:26:33 +09:00
Christian Brabandt
aa46603214
Merge pull request #2128 from jolan78/master
fix for #2127
2020-05-04 14:19:44 +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
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
kazukazuinaina
ad3132da33 [add] vaffle's path section 2020-04-29 21:37:36 +09: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
c8fe296c52
Merge pull request #2117 from kazukazuinaina/update_ycm_extension
[add] ycm's toggle and doc
2020-04-17 09:40:05 +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
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
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
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
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
Freed-Wu
254d1a2d8d Add g:airline#extensions#capslock#symbol
Add help

Add linebreak and default
2020-03-20 11:02:34 +08:00
kazukazuinaina
b2cd5baa24 [add] gina.vim's url 2020-03-15 20:05:22 +09: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
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
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
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
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
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