Commit Graph

2575 Commits

Author SHA1 Message Date
LOTehan
cc0d39b528 color name is case-sensitive in the latest gvim 2021-08-08 02:18:04 +08:00
Christian Brabandt
0cfd829c92
Merge pull request #2414 from vEnhance/master
Allow overriding trailing ws regexp per buffer
2021-08-04 08:11:53 +02: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
IK
b861f9d248
Merge pull request #2404 from vim-airline/fix-2388-issue
[fix] issue #2338
2021-07-19 02:41:29 +09:00
kazukazuinaina
ec4bbabe4a [fix] issue #2338
add check airline_stl_path_style's flag and pathshortln api
2021-07-12 02:26:52 +09:00
IK
4807a211cd
Merge pull request #2403 from vim-airline/add-new-vim-version-ci
[add] 8.2.2000 in ci
2021-07-12 01:51:29 +09:00
kazukazuinaina
84a04bbd5b [add] 8.2.2000 in ci 2021-07-12 00:41:45 +09:00
Christian Brabandt
a94d8034c3
Merge pull request #2402 from vim-airline/add-patch-1
[refactor] use Ternary operator
2021-07-06 08:49:54 +02:00
kazukazuinaina
9b113a02f5 [refactor] use Ternary operator 2021-07-06 02:37:52 +09:00
Christian Brabandt
49cdcb7b3e
vim9: Needs at least version 8.2.22844 2021-06-07 13:44:53 +02:00
Christian Brabandt
82b1b2e876
Merge pull request #2394 from adriantrunzo/master
Correct line number for coc.nvim warnings.
2021-06-04 08:45:17 +02:00
Adrian Trunzo
fdda58861b Correct line number for coc.nvim warnings.
- The line number index is 0 for errors, 1 for warnings.
2021-06-03 14:23:44 -06:00
Christian Brabandt
a8b3c254d0
Merge pull request #2391 from aostruszka/master
Change event for tabline autoshow
2021-05-27 18:53:33 +02:00
Andrzej Ostruszka
3882146c41 Change event for tabline autoshow
Use TabNew/TabClosed for the "autoshow" event when tabline is used only
for tabs (show_buffers==0).  This fixes case of visible tabline when
tab_min_count == 2 and user executes ':tabonly' command - the tabline
should disappear but there is no TabEnter event triggered in this case.

Closes #2389
2021-05-27 08:29:30 +00:00
Christian Brabandt
b6f6cc9312
autoload: fix error with vim74 2021-05-26 13:26:47 +02:00
Aaron Adams
98aea41dc2
Warn if a function is already registered for inactive statusline
closes #2388
2021-05-26 13:09:04 +02: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
73025ea504
Merge pull request #2390 from ls4154/master
scrollbar: fix first line overwrite
2021-05-26 08:01:43 +02:00
Youngjae Lee
affe12b7e7 scrollbar: fix first line overwrite 2021-05-26 10:48:36 +09: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
03ec880101
Merge pull request #2386 from vim-airline/add_winwidth_test
[add] winwidth's test
2021-05-18 08:13:00 +02:00
kazukazuinaina
51c79f61f4 [add] winwidth's test 2021-05-14 02:25:14 +09:00
ReubenM
1f94ec1556 Make everything in linenr, maxlinenr, and colnr completely configureable, including spaces and colons. The only thing hard wired anymore is the actual numbers. 2021-05-09 22:12:37 -05:00
Christian Brabandt
ab4962b838
tabline: remove commented out functions, that are not possible in Vim9 2021-05-09 09:20:06 +02:00
Christian Brabandt
4c0c60bbf2
scrollbar: user after variable instead of re-calculating it 2021-05-08 18:50:24 +02:00
Christian Brabandt
ecac148e19
scrollbar: add an ascii scrollbar extension 2021-05-08 18:06:25 +02:00
Christian Brabandt
e7eea7c6e8
vim9: Use correct vim9 lambda functions 2021-05-08 13:55:26 +02:00
Christian Brabandt
a2f298ba8f
vim9: Rewrite highlighter in Vim9 Script
This is the one script, that is usually causing the most slow down.
Converting it to Vim9 Script should keep vim responsive and the users
happy. Hopefully that works now.
2021-05-08 13:36:55 +02:00
Christian Brabandt
7e295c859f
vim9: finish early for legacy Vims
fixes #2382
2021-05-08 09:20:25 +02:00
Christian Brabandt
19360bac63
themes: remove tabs for indenting 2021-05-08 01:42:10 +02:00
Christian Brabandt
7181950501
vim9: rewrite themes.vim to Vim9 Script 2021-05-08 01:39:55 +02:00
Christian Brabandt
e608a0c016
vim9: Rewrite tabline#formatters#default to Vim9Script 2021-05-08 00:48:18 +02:00
Christian Brabandt
725e881ac9
vim9: Convert tabline.vim to vim9 script 2021-05-08 00:27:11 +02:00
Christian Brabandt
c0c6b0e216
tabline: only remove 'e' flag from guioptions, if it is present 2021-05-07 22:50:29 +02:00
Christian Brabandt
390b243cf3
doc: Allow for experimental features 2021-05-07 22:48:42 +02:00
Christian Brabandt
23e20bfada
autoload: handle bufnr as string explicitly
This is some preparational work for evetually merging the vim9 script
feature.

Also while at it, remove those nasty `l:` prefixes
2021-05-07 22:46:57 +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
Vincenzo Di Massa
f7cbf8c429
glob return results without removing wildignore matches
Ignore 'wildignore' and 'suffixes' when globbing for themes and extensions.

This can be a problem when you have a wildignore containing *.vim.

closes #2375
2021-05-03 08:37:05 +02:00
kazukazuinaina
76e42284e9
tests: add some more tests for g:airline_section vars
closes #2370
2021-05-03 08:33:12 +02:00
Christian Brabandt
76c24d2126
Merge pull request #2374 from ReubenM/master
Section-Z symbols and layout
2021-05-03 08:09:38 +02:00
Christian Brabandt
2d650d2e83
Merge pull request #2378 from flwyd/autocmd-dont-skip-toggle-off
Fire AirlineToggledOff autocmd even if airline is disabled
2021-05-03 08:04:35 +02:00
Trevor Stone
7a87615cbe Fire AirlineToggledOff autocmd even if airline is disabled
Fixes #2377.  This regression was introduced in 2e9df43.
2021-05-02 21:44:45 -06:00
Christian Brabandt
2e9df43962
autocommands: check for existence of airline highlight group
Several extensions trigger custom actions. Make sure, those actions are
only performed, if airline is actually active and not temporarily
disabled using e.g. :AirlineToggle
2021-04-30 13:26:33 +02:00
Christian Brabandt
06134df810
Merge pull request #2372 from vim-airline/add_parts_test
[add] parts's test
2021-04-29 19:49:20 +02:00
ReubenM
9e62ad962a Remove un-needed spaces in section-z when using Ascii variant 2021-04-29 12:09:41 -05:00
ReubenM
8929bc72a1 Fix symbols and layout used in line and column display from section-z. Added column number symbol. 2021-04-29 11:55:25 -05:00
kazukazuinaina
38a90d8801 [add] parts's test 2021-04-28 20:42:48 +09:00
Christian Brabandt
30f8ada1d6
Merge pull request #2371 from vim-airline/add_commands_test_case
[add] AirlineExtensions's test case
2021-04-28 08:12:20 +02:00
kazukazuinaina
4968c6bb18 [add] AirlineExtensions's test case 2021-04-28 00:50:13 +09:00