Commit Graph

1466 Commits

Author SHA1 Message Date
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
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
Christian Brabandt a201689e38
async: correctly redirect error on powershell 2020-01-28 16:01:52 +01:00
Christian Brabandt 2e9d36e220
async: problem with powershell
also check for the powershell on windows.

closes #2050
2020-01-28 16:00:02 +01:00
Christian Brabandt c3cda92272
Merge pull request #2049 from kazukazuinaina/fix_echo_extension_load
Fix echo extension load
2020-01-28 15:58:00 +01:00
Christian Brabandt f4795532c6
branch: disable FocusGained handler when updating fugitive information
closes #2029
2020-01-28 15:54:53 +01:00
kazukazuinaina 70c91d70c5 [fix] can display loaded extension in g:airline_extensions
[fix] continue check
2020-01-27 07:11:24 +09:00
David Lukes ce45960049 Suggest fix for #2045 2020-01-24 12:46:07 +01:00
Christian Brabandt 1240403ce5
highlighter: fix obvious spelling error 2020-01-20 12:32:06 +01:00
Christian Brabandt a676af7c8a
highlighter: check for accents key
This is actually a work around for a broken installation. the dict p
should always contain the accents key (see `airline#themes#patch()`
function, that adds missing accents). So even if the theme does not
define the accents key, it should always exist.

However, an error while evaluating the statusline is extremely annoying,
so add some safeguards here and skip the following for loop.

related #2043
2020-01-20 12:28:04 +01:00
kazukazuinaina f0317f6dd4 update preview in extensions.vim 2020-01-12 01:27:24 +09:00
kazukazuinaina cf6dcf5e19 update license's year in vim-airline 2020-01-06 11:22:49 +09:00
petobens 98f03df8e5 Add poetv extension 2019-12-30 10:37:03 -03:00
Jonathan Feinberg 892c9ad6b5
Adding option: `buffers#buffer_idx_mode = 3`
By using `buffer_idx_mode = 3`, indexing will start at 1, instead of 11.
2019-12-27 13:00:50 +01:00
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