Commit Graph

440 Commits

Author SHA1 Message Date
Christian Brabandt
bf5d785932
virtualenv: Enable for additional filetypes beside python
So with https://github.com/jmcantrell/vim-virtualenv you can display the
virtualenv in your statusline section (if you have enabled it). However
it would only become active for python buffers.

Now perhaps you want to show the virtualenv also in other filetypes like
markdown or CI scripts, so allow this by adding a variable
`airline#extensions#virtualenv#ft'` to the list of filetypes you want to
have enabled. So set:

    let g:airline#extensions#virtualenv#enabled = 1
    let g:airline#extensions#virtualenv#ft = ['python', 'markdown']

To allow displaying the virtual environment for python and markdown
buffers (but remember you need to have the plugin
https://github.com/jmcantrell/vim-virtualenv installed as well!)

fixes #2483
2021-12-08 11:23:42 +01:00
Christian Brabandt
841a355196
Merge pull request #2472 from indelog/indelog_vim9lsp
Add extension for yegappan/lsp
2021-11-26 10:31:26 +01:00
Indelog
8df0f3db4b Add extention for yegappan/lsp
Show errors and warnigs with yegappans/lsp plugin.
2021-11-26 10:12:11 +01:00
Tama McGlinn
2ed11e9536 Add support for flog with git status summary 2021-11-25 18:09:40 -05:00
Christian Brabandt
6e5439126f
wordcount: allow to disable vimtex wordcount()
While Commit e542f5e introduced a nice little feature for TeX files to
accurately count words, this unfortunately has the drawback of being
possibly slow, especially since the statusline is often re-evaluated.

Therefore disable this feature by default. You can enable it using:

    :let g:airline#extensions#vimtex#wordcount = 1

fixes #2461
2021-11-11 22:51:02 +01:00
Indelog
d134ae8c2f Add extention to support yegappan/taglist 2021-11-11 14:26:49 +01:00
Fedor
69726073ca
Add documentation 2021-11-03 23:05:05 +03:00
Bea Hughes
6800c9ea7f Add vim-rufo extension support to section z.
Displays whether you have the ruby formatter enabled or not for the
session you are in.

Enable with:
let g:airline#extensions#rufo#enabled = 1

Configure with:
let g:airline#extensions#rufo#symbol = '💎'
2021-11-01 10:36:33 -07:00
Christian Brabandt
26f922753a
coc-extension: remove dead code
vim-airline does not use actually use the `g:coc_stl_format` variable
and it also doesn't seem to be used by coc itself. So let's just remove
this code.

closes #2437
2021-09-21 08:43:30 +02:00
Freed-Wu
c39ec8ef35 Fix #2418 2021-08-11 00:38:46 +08:00
LOTehan
cc0d39b528 color name is case-sensitive in the latest gvim 2021-08-08 02:18:04 +08:00
Evan Chen
0f3feca572
Allow overriding trailing ws regexp per buffer
For example, in a github repository, you might want to allow trailing
double spaces in a file, but not elsewhere
2021-08-03 21:35:22 -07:00
Christian Brabandt
05bd105cab
Merge pull request #2385 from ReubenM/master
Completely customizable linenr, maxlinenr, colnr symbols and strings
2021-05-26 08:02:03 +02:00
Christian Brabandt
4a64fbfc4b
scrollbar: disable by default
as per feedback from reddit
2021-05-21 16:10:51 +02:00
ReubenM
ef232cfee1 Update docs 2021-05-19 15:43:23 -05:00
Christian Brabandt
ecac148e19
scrollbar: add an ascii scrollbar extension 2021-05-08 18:06:25 +02:00
Christian Brabandt
390b243cf3
doc: Allow for experimental features 2021-05-07 22:48:42 +02:00
Christian Brabandt
db78454a03
symbols: Use a different Column char in UTF-8
Personally I don't like the extra-wide ㏇ char, so let's make it ℅
2021-05-07 22:29:59 +02:00
kazukazuinaina
9b2c1e9915 [add] g:airline_section_c_only_filename 2021-04-27 19:39:21 +09:00
Craig
639a0038cf
Fix effecting for affecting. 2021-03-03 09:38:32 +00: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
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
da6b076ee4
doc: mention that searchcount is only enabled when 'hls' is on 2021-01-02 20:35:58 +01:00
Christian Brabandt
8a60582527
init: section_y includes missing endofline and BOM 2021-01-02 19:26:44 +01:00
micchy326
8a80369227 describe to disabling procedure 2021-01-02 21:16:40 +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
91a8ada0f9 doc: document tabline highlighting groups (closes #2285) 2020-11-19 14:17:22 +01:00
Christian
beb20cb49f doc: mention that the tabline mappings are not automatically created
related: #2290
2020-11-19 13:52:08 +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
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
Christian Brabandt
8608270bd3
Merge pull request #2257 from weirane/nroff-wordcount
Add nroff to wordcount
2020-10-18 16:48:42 +02:00
Subhaditya Nath
34968bf65c
Improve the documentation of localsearch extension
Fixed the copy-paste error mentioned by @chrisbra at
https://github.com/vim-airline/vim-airline/pull/2240#discussion_r494570378

Also improved the wording a bit
2020-10-17 20:05:22 +05:30
Wang Ruochen
19ab70ee87
Add nroff to wordcount 2020-10-17 16:54:46 +08:00
James Rowe
4e03ac85f9
Fix doc for enabling wordcount’s reading time support 2020-10-13 18:19:02 +01:00
adrian5
2ad2eeb9ca Fix wording/typos in doc 2020-10-11 16:05:44 +02:00
Christian Brabandt
958ffe059a
doc: fix grammatical typo
fixes: #2246
2020-10-05 10:50:05 +02: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
Christian Brabandt
3272a2d490
doc: mention coc explorer
related: #2235
2020-09-15 14:14:21 +02:00
kazukazuinaina
2a69254d21 [add] support battery.vim 2020-09-08 01:26:24 +09:00
kazukazuinaina
7f91b54a44 [fix] document's typo about nerdtree_statusline 2020-09-03 17:20:52 +09:00
Christian Brabandt
c77d89046e
doc: fix typo for show_buffers variable
related: #2218
2020-08-27 13:07:32 +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
kazukazuinaina
8e0d5cd95d [fix] readingtime formatter's doc 2020-08-13 01:52:50 +09:00
kazukazuinaina
12f1934d38 [add] readingtime formatter's document 2020-08-13 00:23:51 +09: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
kazukazuinaina
0e2cc23d49 [add] short_path's doc in airline 2020-08-05 14:15:14 +09:00
tooSadman
782774c0dc Added support for built-in nvim-lsp 2020-08-03 18:19:26 +03:00