Commit Graph

465 Commits

Author SHA1 Message Date
Christian Brabandt
0913c0a3b6
Merge pull request #2613 from bobbleclank/searchcount-config
Add search-count configuration
2023-01-02 17:39:49 +01:00
Simon Truscott
e9c09a2e66 searchcount: add configuration
- Allow disabling displaying the search term.
- Allow setting the length for truncating the search term.

- Fix inconsistent status format for timed out:
  No space between search term and counts.
2023-01-02 11:42:54 +11:00
Simon Truscott
46f0a12bae hunks: add support for gitsigns.nvim
Refactor s:get_hunks_coc() so that parsing the hunk status can be reused
by s:get_hunks_gitsigns().

Reorder s:get_hunks_coc() for consistent ordering with related code.

Give gitsigns.nvim priority over coc-git when selecting b:source_func in
hunks#get_raw_hunks().
2023-01-01 11:46:28 +11:00
Radar
4e552414d4
Allow to define own path for short_path formatter
let g:airline#extensions#tabline#formatter = 'short_path'
let g:airline#extensions#tabline#fnamemod = ':h'

Update short_path documentation
2022-12-23 09:54:52 +01:00
Christian Brabandt
994cfd80eb
Powerline: Mention alternative to notexists symbol
I noticed, that in some environments the default
g:airline_symbols[notexists] just does not show up, even when the same
font in the gui works. So let's at least mention a possible alternative,
that you can easily use in your vimrc:

```vim
  if !exists("g:airline_symbols")
    let g:airline_symbols = {}
  endif
  let g:airline_symbols.notexists = "\u2204"
```
2022-12-15 17:15:15 +01:00
Zhizhen He
3c9c2ba5d4
fix typo 2022-11-24 11:47:41 +08:00
Christian Brabandt
2654f838ae
Merge pull request #2598 from limakzi/fix/add-missing-hyperlink
Fix missing hyperlink in docs
2022-11-17 16:33:30 +01:00
Christian Brabandt
f65f27b9eb
Merge pull request #2600 from Freed-Wu/fcitx
Add support for fcitx.vim
2022-11-17 16:18:44 +01:00
Wu Zhenyu
1e491727b2
Add support for fcitx.vim
<https://github.com/lilydjwg/fcitx.vim/issues/32>
2022-11-15 17:29:36 +08:00
Kamil Zabielski
a84ae5e069
Fix missing hyperlink in docs
Signed-off-by: Kamil Zabielski <kamil@zabielscy.com>
2022-11-09 10:51:40 +01:00
eximus
b86e5e09b2 Improve coc error/warning status format to include count 2022-11-04 16:37:31 -04:00
Christian Brabandt
d734be8cd3
Merge pull request #2590 from 0Magenta0/master
Typo: Add Missing Quotation Mark In Docs
2022-11-04 13:51:42 +01:00
eximus
d56f199405 Use the coc status variable to format error/warning line number 2022-10-28 14:34:11 -04:00
0Magenta0
92d3e90110 Typo: Add Missing Quotation Mark 2022-10-22 22:17:01 +03:00
Christian Brabandt
0ed7b8bb2e doc: fix typo 2022-10-13 16:56:32 +02:00
amarakon
84823e5e7d Treat R Markdown the same as Markdown 2022-10-13 16:53:42 +02:00
amarakon
3fe71a6ce6 Remove trailing whitespace 2022-09-30 23:25:47 -04:00
Shawn M Moore
e0056ae5b0 Reduce truncation for section y to 80 chars 2022-09-20 23:57:06 -04:00
Christian Brabandt
66a6e03a34
doc: adjust documentation for colnr symbol
after aee282c964 we also need to adjust
the documentation properly.
2022-08-08 10:12:57 +02:00
GONI Guillaume
4933ee0977
add support for line numbers for nvimlsp like ale 2022-07-29 10:37:08 +02:00
Christian Brabandt
ebb89a0846
plugin: mention how to disable certain events
E.g. how to disable the FocusGained event by setting the 'eventignore'
option.

Add some boilerplate to skip the focusgained function handler function, if it should be
ignored. (this should in theory stop setting up the autocommands at all
so might be tiny performance optimization).

closes #2421
2022-07-13 20:41:15 +02:00
Christian Brabandt
13628d698d
scrollbar: allow to customize minimum window width
closes #2531
2022-05-05 23:09:33 +02:00
Christian Brabandt
a306a7abfd
Merge pull request #2514 from patricknraanes/main
Enable display country flag instead of spelllang
2022-03-23 20:58:16 +01:00
Brandon Doornbos
e643f9fa7d Fix typo/wording in doc 2022-03-07 23:05:53 +01:00
patricknraanes
2706bdc949 Enable display country flag instead of spelllang 2022-02-28 17:29:47 +01:00
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