100 Commits
Author SHA1 Message Date
Christian Brabandt d842cfb9dd util: use finish to skip the vim9 script part
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Also drop the Vim9 script implementation of airline#util#exec_funcrefs(),
because it will try to find script-local funcrefs, and thus errors out.

fixes: #2753

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-05-31 14:12:15 +00:00
Christian Brabandt 1586662296 Release vim-airline 0.12
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-05-01 17:14:04 +00:00
Christian Brabandt 9bf0c3de43 update Copyright year, fix inconsistent whitespace formatting
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-05-01 17:12:00 +00:00
Christian Brabandt 6e09d725c2 tabpanel: remove scroll suboption handling again
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-27 17:08:33 +00:00
Christian Brabandt f6d9cc6b4a Fix wrong rendered table in README.md
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-22 20:42:16 +00:00
Christian Brabandt 46d64f94d4 doc: document correct default for tabpanel scroll/scrollbar variables
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-22 20:35:59 +00:00
Christian Brabandt a29ae5be6f tabpanel: Add support for clickable tabpanel and scrollbar (#2749)
Requires Vim v9.2.0386 and v9.2.0360

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-22 18:18:59 +02:00
Christian Brabandt da47577aa8 whitespace: ignore trailing warning for gitcommit/diff filetype
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-19 21:49:45 +00:00
Christian Brabandt 609e5c0ee1 tabpanel: load tabline theme in tabpanel
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
related: #2724

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-13 15:23:57 +02:00
Christian Brabandt bd888a05db tabline: expose <Plug>AirlineSelectFirstTab/<Plug>AirlineSelectLastTab
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
closes: #2700

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 15:58:40 +00:00
Christian Brabandt 493a5b4895 extensions: Group output of :AirlineExtension by loaded/not-loaded
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 15:30:10 +00:00
Christian Brabandt 7d019cd8f5 Update README.md
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
fixes: #2729

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 08:52:28 +00:00
Christian Brabandt 0f3db77abe Update CHANGELOG.MD
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 08:39:23 +00:00
Christian BrabandtandClaude Opus 4.6 ee44d57525 whitespace: support multiline statusline for warnings
Add a new airline_section_warning2 that displays whitespace warnings on
a second statusline line when Vim supports the statuslineopt option
(Vim 9.2.0083+) and g:airline_multiline is set. The second line only
appears when there are actual whitespace issues, avoiding an empty
second line when the buffer is clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 08:15:15 +00:00
Christian BrabandtandClaude Opus 4.6 7fe264257e extensions: Add a tabpanel extension
Add a new tabpanel extension that provides airline-styled formatting
for Vim's vertical tab panel feature. Uses airline tabline highlight
groups (TabPanelFill, TabPanelSel, TabPanel) and refreshes them on
theme changes. Requires a Vim version with 'tabpanel' support.

Extension implemented using Vim9Script so not Neovim compatible

fixes:  #2724
closes: #2746

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 08:12:11 +00:00
Christian Brabandt 723def3fa8 tabline: support clickable tabline in Vim (>= v9.2.0338)
closes: #2745

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 08:07:05 +00:00
Christian Brabandt 081f8ac918 git: enable gitrepo path style, displaying repo:/path/ instead
fixes:  #2505
closes: #2507

Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-12 08:04:38 +00:00
Christian Brabandt c52bb3dd32 builder: simplify skip_empty_sections condition
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-04-11 23:19:39 +00:00
Christian Brabandt b03fdc542f whitespace: verify existence of searchcount() function before using it
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-12-23 12:50:58 +01:00
Christian Brabandt 72acbef146 whitespace: add conflicts marker count
closes: #2736

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-12-23 09:38:13 +01:00
Christian Brabandt 499ae85357 fern: only change directory if we are in a fern window
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-12-02 14:56:51 +01:00
Christian Brabandt e06b45a870 fern: handle cases when scheme is not fern of filetype is fern-
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
closes: #2735

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-11-28 12:16:22 +01:00
Christian Brabandt 159573187e doc: use tabs as separator between tag and description
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
2025-09-22 19:24:02 +00:00
Christian Brabandt 5ca7f0b7fe whitepace: add whitespace to conflict detection marker
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
closes: #2727

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-07-14 20:56:14 +02:00
Christian Brabandt 41c5f54507 Add executable status (#2723)
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
closes: #2722
2025-05-11 13:08:53 +02:00
Christian Brabandt 7fc376a4d5 CI: update Github runners to Ubuntu 22.04
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-05-01 16:48:35 +02:00
Christian Brabandt 45003f9451 fern: use correct API to parse the fern protocol
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
related: #2717

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-04-14 07:50:28 +02:00
Christian Brabandt 0694335daa fern: failure when opening a path with spaces
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Fix this by:
- decode the path using fern#fri#decode()
- use fnameescape() for the 'lcd' command
- add try catch around the 'lcd' command

closes: #2717

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-04-13 17:03:11 +02:00
Christian Brabandt 7ad8c717c6 tests: fix failing test
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
after c7704c6bc7 the tests fail, because the tests expect '%l'
in the output of `g:airline_section_z`, but it is now actually '%2l'.

So let's change the expected output for the test.

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-04-13 09:46:50 +02:00
Christian Brabandt c7704c6bc7 init: use a minimum of 2 columns for the current line number
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
fixes: #2699

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-04-08 13:27:11 +02:00
Christian Brabandt 9884c07966 whitespace: U+2632 changed width to double-width
Whitespace Character U+2632 changed to double-width with Unicode release
16 (Vim patch v9.1.736). This causes issues with the statusline like
adding wrapping.
So let's mark that character back as single width, since that is what
most underlying libraries seem to expect.

closes: #2715
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-04-08 10:20:16 +02:00
Christian BrabandtandMina Nagy Zaki 7a552f415c highlighter: remove stale separator entries on buffer unload
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
fixes: #2701

Co-authored-by: Mina Nagy Zaki <mnzaki@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-12-05 06:49:09 +01:00
Christian Brabandt 6cc2c5c9e9 nvimlsp: Use vim.lsp.buf_get_clients() for Neovim < 0.11
closes: #2676

Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-19 21:47:31 +02:00
Christian Brabandt d9f42cb467 parts: error when unsing non-utf8 encoding
use exprission string "\u2026" instead of literal …

fixes #2666
2024-02-17 15:29:08 +01:00
Christian Brabandt 3b9e149e19 ci: run on ubuntu 20.04 instead of ubuntu 22.04
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-11 13:32:00 +02:00
Christian Brabandt ec74913b94 ci: fix failing test
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-11 13:27:32 +02:00
Christian Brabandt 0adefd0c42 vimodoro: fix style according to reviewdog
Mainly, add the `abort` attribute and make the == comparison case
sensitive

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-11 13:13:58 +02:00
Christian Brabandt f1ba5a03db branch: --no-optional-locks arg needs to be given to git
The special argument --no-optional-lock applies to the main git command,
and not to the git subcommand `git status`. So move it there, to prevent
an error with git.

closes #2651

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-04 21:01:39 +02:00
Christian Brabandt e6bb8427dc Merge pull request #2648 from idbrii/git-nolock
Don't lock git repo when checking status
2023-07-19 20:33:02 +02:00
Christian Brabandt cead8efb48 term: allow to customize section_a and section_z
closes: #2647
2023-07-13 16:48:04 +02:00
Christian Brabandt 423fe9e2ac Merge pull request #2643 from Omcsesz/patch-1
Update README.md
2023-05-25 11:14:50 +02:00
Christian Brabandt 5891a3f7be Merge pull request #2635 from 3ximus/master
Fix the number of splits in a tab displayed in the tabline
2023-04-17 10:05:28 +02:00
Christian Brabandt 4eea2b7e3c Fix check for vim9 script
closes #2636
2023-04-17 09:53:26 +02:00
Christian Brabandt a532fed72a fix saythank.io link 2023-03-16 08:08:20 +01:00
Christian Brabandt 18b85395d3 wordcount: skip updating wordcount for vimtex#misc#wordcount() in visual mode
closes #2624
2023-01-29 22:07:36 +01:00
Christian Brabandt c7460aa883 Merge pull request #2621 from bobbleclank/hunk-gitgutter-selection
Prevent selecting GitGutter when its loaded but not enabled
2023-01-22 15:10:40 +01:00
Christian Brabandt 31e01612f3 tagbar: do not load, if file size is too large
closes: #2578
2023-01-19 21:46:36 +01:00
Christian Brabandt dc1b607f56 tagbar: break too long line 2023-01-19 21:45:37 +01:00
Christian Brabandt 08cfcf9408 tagbar: move s:flags to inside the function
This matters, if the users later changes the
'airline#extensions#tagbar#flags'  variable, so that it will be taken
into account by the tagbar extension
2023-01-19 21:44:21 +01:00
Christian Brabandt 50a936608c tagbar: prevent error on initial load
Tagbar plugin expects a printf() formatting string, so use one
2023-01-19 21:25:23 +01:00
Christian Brabandt 9252c11d37 tabnr_formatter: get correct name for tabpage 2023-01-19 20:57:47 +01:00
Christian Brabandt e4a57d0be4 Merge pull request #2618 from artemvmin/short-path-improved
Add improved short path tabline formatter
2023-01-19 20:19:13 +01:00
Christian Brabandt 1d9ae3f972 tabnr formmatter: return tabpagebuflist for tab_nr==0 2023-01-18 09:32:51 +01:00
Christian Brabandt f46792ebcb Merge pull request #2619 from artemvmin/mode-truncation
Use mode minwidth to configure truncation
2023-01-17 08:10:46 +01:00
Christian Brabandt 82aeea1276 extensions: fix tabnr formatter
related #2616
2023-01-16 22:58:54 +01:00
Christian Brabandt 1ecbc76682 extensions: correctly check for external extensions
fixes #2594
2023-01-11 16:45:28 +01:00
Christian Brabandt 1028c6ea12 tabnr: replace by a new naive function
This function simply returns the current tabnumber followed by the
number of buffers in the current tabpage.

The previous one either was broken long ago or did not work as expected.

fixes #2616
2023-01-11 16:41:08 +01:00
Christian Brabandt 4f5b641710 formatter: tabnr expects a number bot got List
Make sure, that the second argument is actually a number and not a list.
Note: even when fixing this, the tabpage still shows some strange output
e.g. currently
 1   1.%{len(tabpagebuflist(1))} 

In a vim window. Not sure, why Vim does no longer evaluate those %{..}
sections. Perhaps some change in Vim?

closes #2616
2023-01-09 14:55:11 +01:00
Christian Brabandt 9007d19ab7 Merge pull request #2617 from bobbleclank/use-gitsigns-status-dict
Use gitsigns_status_dict instead of gitsigns_status
2023-01-09 14:39:11 +01:00
Christian Brabandt 0913c0a3b6 Merge pull request #2613 from bobbleclank/searchcount-config
Add search-count configuration
2023-01-02 17:39:49 +01:00
Christian Brabandt 785dbbe504 Merge pull request #2614 from bobbleclank/hunks-gitsigns
Add support for gitsigns.nvim in hunks extension
2023-01-01 10:18:35 +01:00
Christian Brabandt 9e2d021fc6 Merge pull request #2611 from uridium/master
Allow to define own path for short_path formatter
2022-12-23 10:42:10 +01:00
Christian Brabandt 6a4c82c950 Merge pull request #2610 from pinicarus/master
only set laststatus when airline is not on top
2022-12-16 09:25:36 +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
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
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
Christian Brabandt 25d53a80f4 Merge pull request #2602 from hezhizhen/typo
fix typo
2022-11-28 08:33:13 +01: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
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
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
Christian Brabandt 0ed7b8bb2e doc: fix typo 2022-10-13 16:56:32 +02:00
Christian Brabandt 8e989201c8 Merge pull request #2580 from amarakon/trailing-whitespace
Remove trailing whitespace
2022-10-11 14:01:21 +02: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
Christian Brabandt 78abec3b83 Merge pull request #2576 from shadowwa/master
Update util.vim
2022-09-26 15:22:48 +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
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
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
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 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
Christian Brabandt 91b67e3ca2 Merge pull request #2545 from rcasta74/vim9script
vim9: Fix boolean check in tabline#formatters#default
2022-06-28 09:13:48 +02:00
Christian Brabandt 1a7d546448 fugitive: remove old fugitive test
As mentioned by @tpope, remove the old test for the autoloaded function
fugitivie#head() and instead use consistently FugitiveHead() everywhere

[delete] %bd command

[add] init.vimspec

[update] init.vimspec

[add] parts.vim

[add] section.vimspec

[add] themes.vimspec

[add] util.vimspec

[delete] vim-vspec
2022-06-10 02:00:00 +09:00
Christian Brabandt 97a9aa4bdb Merge pull request #2540 from rionda/master
Show flag when `detect_spelllang` is `'flag'`, do not when it is 0.
2022-06-08 15:02:47 +02:00
Christian Brabandt 5d7e656081 fugitive: remove old fugitive test
As mentioned by @tpope, remove the old test for the autoloaded function
fugitivie#head() and instead use consistently FugitiveHead() everywhere
2022-05-21 21:58:11 +02:00
Christian Brabandt c465570143 Merge pull request #2534 from svenberkvens/fix-close-button-in-tabline
Mark the end of the close button
2022-05-06 10:57:56 +02:00
Christian Brabandt 13628d698d scrollbar: allow to customize minimum window width
closes #2531
2022-05-05 23:09:33 +02:00
Christian Brabandt d421c35f94 Merge pull request #2529 from zoumi/master
make exclude pattern works when there are more than one tabpages
2022-05-05 23:05:30 +02:00
Christian Brabandt 0241bdb804 fugitiveline: leading zeros dropped in buffername
fixes #2533
2022-05-05 20:17:45 +02:00