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
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
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
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
kazukazuinaina
1ca2428f51
[fixup] Release the search restriction and remove unnecessary functions
2020-07-28 16:29:42 +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
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
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
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
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
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
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
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
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
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
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
f4795532c6
branch: disable FocusGained handler when updating fugitive information
...
closes #2029
2020-01-28 15:54:53 +01: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
kazukazuinaina
be85daa23f
fix untrack branch check about gina
2019-12-19 15:43:50 +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
e395afed51
vista: init extension on VimEnter
...
closes #2009
2019-12-13 08:56:26 +01:00
Christian Brabandt
9c3f84fc67
tabline: skip expansive BufAdd call on Session load
...
closes #2015
2019-12-13 08:44:15 +01:00
Christian Brabandt
758c83acbf
tabline: simplify autocommand condition
2019-12-12 09:58:21 +01:00
Christian Brabandt
58b9b3ec81
netrw: do not error out when g:netrw_sort_by is not defined
2019-12-11 23:36:15 +01:00
Christian Brabandt
c24f3c7c4d
whitespace: do not detect '=======' as conflict marker for rst files
...
closes #2014
2019-12-10 16:14:08 +01:00
Christian Brabandt
664426be21
doc: mention all supported plugins
...
Also, in the extensions mention the required vim plugin
2019-11-08 20:18:04 +01:00
Christian Brabandt
5b9cbc1a57
ctrlspace: cleanup s:var usage
2019-11-08 19:58:22 +01:00
Christian Brabandt
f2241b61b2
bufferline: get rid of static s: variable
2019-11-05 11:32:10 +01:00