Commit Graph

2552 Commits

Author SHA1 Message Date
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
Christian Brabandt
71a7e23f32
Merge pull request #2081 from kazukazuinaina/fix/scope
[fix] count variable's scope
2020-02-28 09:19:09 +01: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
Christian Brabandt
256eb1b5a1
Merge pull request #2077 from kazukazuinaina/update/changelog
Changelog / add unit test section
2020-02-27 13:09:15 +01:00
kazukazuinaina
7e042e7b70 Changelog / add unit test section 2020-02-27 11:15:25 +09: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
Christian Brabandt
d7692e1fe5
Merge pull request #2067 from JacksonBailey/improve-readme
Specify the full helptags command
2020-02-21 09:06:15 +01:00
Jackson Bailey
9bbeb75dd8 Specify the full helptags command 2020-02-20 13:34:29 -05: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
Christian Brabandt
7e00ee1107
Merge pull request #2066 from kazukazuinaina/update_reviewdog_yml
[update] reviewdog.yml
2020-02-17 13:59:25 +01:00
Christian Brabandt
3fdfdc9963
Merge pull request #2059 from languitar/patch-1
Always obey the poetv#enabled setting
2020-02-17 13:58:31 +01:00
kazukazuinaina
7cc49c9386 [update] reviewdog.yml 2020-02-07 20:14:47 +09:00
Christian Brabandt
099dd92eeb
Merge pull request #2065 from kazukazuinaina/fix_github_actions_url
[fix] github action's url in README
2020-02-07 09:14:19 +01:00
kazukazuinaina
0654fec1be [fix] github action's url in README 2020-02-07 17:10:15 +09:00
Christian Brabandt
985d15613e
Merge pull request #2063 from kazukazuinaina/add_github_actions
[add] github actions
2020-02-07 08:39:54 +01:00
Christian Brabandt
73502997ff
Merge branch 'master' into add_github_actions 2020-02-07 08:39:41 +01:00
Christian Brabandt
3481cebe22
Merge pull request #2064 from kazukazuinaina/update_travis_badge
[update]travis-ci's badge
2020-02-07 08:36:24 +01:00
kazukazuinaina
a6a3eab8d9 [add] github actions
[add] github actions's batch in README

[update] yml
2020-02-07 05:14:16 +09:00
kazukazuinaina
5e470bcf0b [update]travis-ci's badge 2020-02-07 04:59:37 +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
Christian Brabandt
e22f735f80
Merge pull request #2055 from kazukazuinaina/fix_typo_in_doc
[fix] typo in doc
2020-01-29 08:14:17 +01:00
Christian Brabandt
abf54b60a4
Merge pull request #2053 from idbrii/fix-focusgained
branch: ignore upcoming FocusGained when updating
2020-01-29 08:13:53 +01:00
kazukazuinaina
24900181f4 [fix] typo in doc 2020-01-29 12:17:39 +09: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
eb916c0c57
Merge pull request #2051 from kazukazuinaina/fix_nerdtree_url_in_doc
[fix] nerdtree's url in doc and README.md
2020-01-28 15:56:13 +01:00
Christian Brabandt
f4795532c6
branch: disable FocusGained handler when updating fugitive information
closes #2029
2020-01-28 15:54:53 +01:00
kazukazuinaina
52175cec3d [fix] nerdtree's url
[fix] nerdtree's url in README
2020-01-28 17:40:25 +09:00
kazukazuinaina
70c91d70c5 [fix] can display loaded extension in g:airline_extensions
[fix] continue check
2020-01-27 07:11:24 +09:00
Christian Brabandt
d4502d02a1
Merge pull request #2046 from dlukes/master
Deduplicate virtualenv identifier sections
2020-01-24 12:48:20 +01: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
Christian Brabandt
62976a21b0
Merge pull request #2044 from kazukazuinaina/update_license_in_doc
update license year in doc/airline.txt
2020-01-20 08:24:51 +01:00
kazukazuinaina
4a4be9cd99 update license year in doc/airline.txt 2020-01-16 11:22:19 +09:00
Christian Brabandt
8d694cba9c
Merge pull request #2042 from kazukazuinaina/fix_issue_2041
update &preview in extensions.vim
2020-01-13 11:37:02 +01:00
kazukazuinaina
f0317f6dd4 update preview in extensions.vim 2020-01-12 01:27:24 +09:00
Christian Brabandt
c1de3d3370
Merge pull request #2040 from kazukazuinaina/update_license_year_
update license's year in vim-airline
2020-01-06 10:18:28 +01:00
kazukazuinaina
cf6dcf5e19 update license's year in vim-airline 2020-01-06 11:22:49 +09:00