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
Christian Brabandt
c9eaf4c5d2
Merge pull request #2366 from vim-airline/add_new_opthon_airline_sectionc_file
...
[add] airline_sectionc_filename_onlyfilename option
2021-04-27 17:46:00 +02:00
kazukazuinaina
9b2c1e9915
[add] g:airline_section_c_only_filename
2021-04-27 19:39:21 +09:00
Christian Brabandt
2f6471a9e1
Merge pull request #2369 from vim-airline/add_init_test_autochdir
...
[add] test case for init.vim / When autochdir is enabled
2021-04-27 08:00:48 +02:00
kazukazuinaina
ef5a0b53ef
[add] test case for init.vim / When autochdir is enabled
2021-04-27 02:56:54 +09:00
Christian Brabandt
0a87d08dbd
whitespace: Skip '===' conflict marker for markdown
...
fixes : #2014
2021-04-23 08:48:44 +02:00
Christian Brabandt
07ab201a27
Merge pull request #2363 from KSR-Yasuda/feature/ScratchBufName
...
Set bufname for [Scratch] (buftype = nofile)
2021-04-15 10:06:29 +02:00
Christian Brabandt
70b06be4b0
highlighter: do not error out, if defined hi-color does not exist
...
if a color definition is being used, that Vim does not seem to
recognize, instead of erroring out fallback to a hard-coded value of
grey. Otherwise we do have potentially a bad user experience for
throwing too many error messages at the user in very short time, which
may prevent him from doing the actual work (as just happened to me)
Grey should always be defined and it should be rather easy to spot
(I hope). Also just mention for what group this happens.
This should give the user a clue, where and when this happens (so he may
be able to adjust the theme).
2021-04-14 12:36:00 +02:00
yasuda
bc5945de65
Set bufname for [Scratch] (buftype = nofile) or [No Name] (otherwise)
2021-04-14 16:54:22 +09:00
Christian Brabandt
ed60e1d369
Merge pull request #2355 from patrick96/coc_current_function
...
coc: Show the current function in section_x
2021-03-27 17:15:19 +01:00
Christian Brabandt
2e421d3cd6
Merge pull request #2356 from nomasprime/move-airlineaftertheme-autocmd-to-load-theme
...
Move AirlineAfterTheme to load_theme()
2021-03-27 17:14:20 +01:00
Christian Brabandt
cba392dd7a
Merge pull request #2357 from miuirussia/patch-1
...
Fix error: key not present in dictionary "percentage"
2021-03-27 17:12:04 +01:00
Kirill Kuznetsov
75383ef2e7
Fix error: key not present in dictionary "percentage"
...
a3b58eb7c4/doc/vim-lsp.txt (L1371)
percentage key is optional
2021-03-21 17:40:33 +03:00
Rick Jones
3d7dfa8ef6
Move AirlineAfterTheme to load_theme()
...
So it gets called when colorscheme changes.
2021-03-21 11:19:08 +00:00
patrick96
7d6adf9cc5
coc: Show the current function in section_x
...
coc.nvim exposes the name of the function the cursor is currently in
through b:coc_current_function.
For this to work, the key coc.preferences.currentFunctionSymbolAutoUpdate
must be set to 'true' in the coc config.
The value is only updated on CursorHold, so the value may not always be
accurate when moving around.
2021-03-20 00:42:46 +01:00
Christian Brabandt
09dbd09ed3
highlighter: handle color names when converting into msdos codes
...
the highlighter code tries to convert the RGB colors into appropriate
color codes for the MSDOS palette. Unfortunately, it does not consider
color names and tries to split those into a list of 3 RGB codes. This
failes for names shorter 6 characters, causing a list index out of
bounds error.
Fix this by making sure, that the color code should start with '#' and
in case it does not, assume it is a color name and simple return the
name in that case.
closes #2350
2021-03-09 13:53:38 +01:00
Christian Brabandt
a262ec6ce4
Merge pull request #2348 from craigemery/patch-1
...
Fix effecting for affecting.
2021-03-07 18:33:04 +01:00
Craig
639a0038cf
Fix effecting for affecting.
2021-03-03 09:38:32 +00:00
Christian Brabandt
df956aa08b
Merge pull request #2347 from ls4154/master
...
tagbar: add missing default search method
2021-03-02 12:41:48 +01:00
Youngjae Lee
0a7c68afb2
tagbar: add missing default search method
2021-03-02 20:27:36 +09:00
Christian Brabandt
fc639c0cf8
Merge pull request #2345 from UtkarshVerma/master
...
coc: Show line number for warnings and errors.
2021-03-02 10:20:12 +01:00
Utkarsh Verma
32d28421fe
coc: Show line number for warnings and errors.
2021-02-28 13:00:17 +05:30
Christian Brabandt
cb1bc19064
Merge pull request #2337 from vim-airline/Functionalization_of_branch_extension
...
[refactor] Functionalization of branch extension
2021-02-15 16:12:20 +01:00