Commit Graph

1594 Commits

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