Commit Graph

2703 Commits

Author SHA1 Message Date
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
Christian Brabandt
1cdb8824a0
Merge pull request #2609 from thomasmerz/fix_node12_deprecation
🩹 fix deprecation warning: Node.js 12 actions are deprecated.
2022-12-14 16:23:50 +01:00
Thomas Merz
13f3478b61
🩹 fix deprecation warning:
Node.js 12 actions are deprecated.
   For more information see:
   https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
   Please update the following actions to use Node.js 16: actions/checkout@master

   Using version v3, latest or master: actions/checkout#689
2022-12-14 16:09:57 +01:00
Christian Brabandt
5f5e00faad
Merge pull request #2605 from igbanam/theme/vim9-variable-arguments
Bring Vim9 Variable Arguments to airline/themes
2022-12-07 08:30:49 +01:00
Igbanam Ogbuluijah
2ae1475d0d
add variardic arguments to generate_color_map 2022-12-07 02:28:40 +00:00
Igbanam Ogbuluijah
62847a8cc9
add variardic arguments to get_highlight functions 2022-12-07 02:28:19 +00:00
Christian Brabandt
25d53a80f4
Merge pull request #2602 from hezhizhen/typo
fix typo
2022-11-28 08:33:13 +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
Christian Brabandt
29ef9e1f64
Merge pull request #2595 from 3ximus/master
Improve coc error/warning status format to include count
2022-11-06 14:09:39 +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
Christian Brabandt
364ffba120
Merge pull request #2592 from 3ximus/master
Use the coc status variable to format error/warning text
2022-11-04 13:51:08 +01:00
Christian Brabandt
009ba4e9d0
Merge pull request #2593 from indelog/indelog-vim9-lsp
Fix: [vim9lsp] ErrorCount method updated
2022-11-04 13:46:55 +01:00
DEMAREST Maxime
5c682e7bd3 Fix vim9lsp ErrorCount method name change 2022-10-31 19:10:37 +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
Christian Brabandt
8e989201c8
Merge pull request #2580 from amarakon/trailing-whitespace
Remove trailing whitespace
2022-10-11 14:01:21 +02:00
amarakon
3fe71a6ce6 Remove trailing whitespace 2022-09-30 23:25:47 -04:00
Christian Brabandt
46dd872237
Merge pull request #2577 from vim-airline/update-issue-template
Added terminal col/line size in Issue template
2022-09-29 14:24:00 +02:00
kazukazuinaina
838c16a174 [add] terminal col/line size in Issue template 2022-09-27 01:55:46 +09:00
Christian Brabandt
78abec3b83
Merge pull request #2576 from shadowwa/master
Update util.vim
2022-09-26 15:22:48 +02:00
Shad
dba64a910d
Update util.vim
using getwinvar directly with 7.3 version of vim display the following error
E118: Too many arguments for function: getwinvar
E15: Invalid expression: getwinvar(a:winnr, '&buftype', '') ==# 'popup'
2022-09-26 15:01:40 +02:00
Christian Brabandt
a71f9a6417
Merge pull request #2575 from sartak/section-y-width
Reduce truncation for section y to 80 chars
2022-09-21 09:09:10 +02:00
Shawn M Moore
e0056ae5b0 Reduce truncation for section y to 80 chars 2022-09-20 23:57:06 -04:00
Christian Brabandt
2cea8346cf
plugin: handle sandbox mode gracefully
When the sandbox is active (e.g. while debugging something), certains
commands and expressions are not allowed (see :h sandbox) and may cause
nasty exceptions to be thrown.

So try to catch E48 and handle it gracefully
2022-09-07 09:44:51 +02:00
Christian Brabandt
90c6746311
builder: correctly remember the previous group when switching alignment
When `g:airline_skip_empty_sections' is set, and a section is considered
and after that section comes the alignment separator '%=' than airline
would not correctly render the airline_prevgroup_to_airline_curgroup
simply because the '%=' marker confuses it about which is actually the
previous group.

So consider the '%=' marker to be empty as well.

The case can be observed, when having set
`g:airline_skip_empty_sections' to true and opening a help buffer.
Because in that case, airline_section_c will be considered empty, then
the alignment separator comes and after that airline will (wrongly)
generate a highlighting group `airline_c_to_airline_z`, while it should
actually generate `airline_b_to_airline_z`
2022-09-02 12:44:44 +02:00
Christian Brabandt
f5a6597496
Merge pull request #2569 from BonaBeavis/patch-1
Fix nvimlsp not picking up show_line_number
2022-08-25 16:45:17 +02:00
BonaBeavis
d1f2c13e4f
Fix nvimlsp not picking up show_line_number 2022-08-23 16:38:15 +02:00
Christian Brabandt
9d20473e91
fugitiveline: remove outdated calls to fugitive
as per https://github.com/tpope/vim-fugitive/issues/2034

This also fixes an issue that is shown in older Vims (pre 7.4.1711)
since those versions did not correctly catch exceptions while evaluating
the statusline.

closes #2566
2022-08-15 17:30:53 +02:00
Christian Brabandt
61042e3502
fern: enable fern again
fern.vim decided to remove the global variable `g:fern_loaded` in
f9404e8a59b6a74b15a5

So adjust to use the correct variable name `g:loaded_fern`.

fixes #2346
2022-08-09 11:59:19 +02: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
Christian Brabandt
aee282c964
symbols: use proper Column number codepoint
Back when the colnr symbol was first introduced in
8929bc72a1 it included symbol `\ue0a3`
when powerline fonts where supposed to be used by setting
`:let g:airline_powerline_fonts=1`

However, it turns out, that those symbol, may actually not be defined in
the powerline fonts at all, only in the
[powerline-extra-symbols](https://github.com/ryanoasis/powerline-extra-symbols)
and this has caused various issues, because it either did not display at
all, or the symbol caused strange overflowing issues which made the
overall look of the status line not very appealing and already caused
various issues here in the vim-airline repository.

Therefore, fall back to the symbol `\u2105` (℅) which at least is
already defined in the Unicode specification and has therefore a higher
chance of being defined inside a powerline font at all (but it may still
be missing after all).

Also, it is more consistent, because it will now use the same symbol as
when `g:airline_powerline_fonts` is not defined and the default Unicode
symbols are selected.

So if you want to keep on using the old symbol, you need to use:
```
let g:airline_symbols.colnr="\ue0a3:"
```

fixes: #2563
related: #2381
2022-08-08 10:11:44 +02:00
Christian Brabandt
9c7790b030
Merge pull request #2556 from watagashi/follow-interface-change-in-taglist
Follow interface change of Tlist_Get_Filenames() in taglist
2022-08-08 08:55:49 +02:00
Christian Brabandt
b9318d7ac0
Merge pull request #2557 from guydunigo/nvimlsp-linenumber
line numbers for nvimlsp like ale
2022-08-08 08:55:31 +02:00
Christian Brabandt
8e477c192b
Merge pull request #2561 from kemonprogrammer/patch-1
Update old link
2022-08-03 17:45:07 +02:00
Michael
e581972997
Update old link
Because the repository owner changed
2022-08-03 17:23:43 +02:00
GONI Guillaume
4933ee0977
add support for line numbers for nvimlsp like ale 2022-07-29 10:37:08 +02:00
WADA Takashi
61dc750149
Follow interface change of Tlist_Get_Filenames() in taglist
fac4055600 (diff-f6bf21c80d33916483d5e6c73613457b588f0c86886ebf84f6a50f242e36d72bL3687)
2022-07-27 11:57:42 +09: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
IK
4a290d16fd
Merge pull request #2549 from vim-airline/add-vim9-ci
[add] Vim9's test in CI
2022-07-14 00:02:59 +09:00
kazukazuinaina
39e49cbbe8 [add] Vim9's test in CI 2022-07-14 00:00:28 +09:00
Christian Brabandt
83d853adc7
Merge pull request #2490 from vim-airline/replace-testing-framework
replace testing flamework, Using vim-themis
2022-07-12 22:40:13 +02:00
Christian Brabandt
fd56e87d00
highlighter: always consider terminal to be non-modified
references #2506
2022-07-12 22:38:56 +02:00
Christian Brabandt
b5f2eb418a
tabline: properly refresh with ModeChanged autocommand
closes #2539
2022-07-12 21:48:06 +02:00