Commit Graph

2485 Commits

Author SHA1 Message Date
Christian 5391b3e246 highlighter: vim9 script implementation of s:exec_separator 2020-11-27 10:40:36 +01:00
Christian 7310ca6cbf highlighter: run ex command with leading colon in vim9 function #exec 2020-11-27 10:40:36 +01:00
Christian 9ae38b43e4 highlighter: vim9 script implementation of s:GetHiCmd 2020-11-27 10:40:36 +01:00
Christian 2441084898 highlighter: vim9 script implementation of s:CheckDefined 2020-11-27 10:40:36 +01:00
Christian d9947beb0f highlighter: vim9 script implementation of #exec 2020-11-27 10:40:36 +01:00
Christian a6b7267979 highlighter: vim9 script implementation of s:hl_group_exists 2020-11-27 10:40:35 +01:00
Christian 90de76359f highlighter: use synIDtrans() in s:hl_group_exists (legacy vimscript)
When checking the defined foreground color in the function that checks
whether a highlighting group exists, it should follow the syntax group
links and check the final color.
2020-11-27 10:40:35 +01:00
Christian 0238d386bb highlighter: vim9 script implementation of get_highlight2 2020-11-27 10:40:35 +01:00
Christian 19861861fd highlighter: vim9 script implementation of get_highlight 2020-11-27 10:40:35 +01:00
Christian 687fb52d9f fix indentation of legacy vimscript (remove tabs) 2020-11-27 10:40:35 +01:00
Christian aa8bd171f3 highlighter: vim9 script implementation of reset_hlcache 2020-11-27 10:40:35 +01:00
Christian b152059a98 highlighter: vim9 script implementation of s:get_array 2020-11-27 10:40:34 +01:00
Christian 4d75c9940c highlighter: vim9 script implementation of s:get_syn 2020-11-27 10:40:34 +01:00
Christian ae3af85ca2 highlighter: remove a couple of empty lines in legacy vimscript implementation 2020-11-27 10:40:34 +01:00
Christian a9f525f8da highlighter: vim9 script implementation of s:group_not_done 2020-11-27 10:40:34 +01:00
Christian 3e93c212cc highlighter: vim9 script implementation of s:gui2cui 2020-11-27 10:40:34 +01:00
Christian a8afa434e3 highlighter: Add condition for new vim9 script implementation
Add a new condition that will contain the new vim9script implementation
of the highlighter logic. Not done yet.

To test it out, you need a recent Vim 8.2 and in addition set the
configuration variable

    :let g:airline_experimental=1

Implementation for all the functions will follow.
2020-11-27 10:40:34 +01:00
Christian b0d4a44f0c add foldmarker to highlighter.vim 2020-11-27 10:40:33 +01:00
Christian 0abcdbeba5 convert msdos.vim 2020-11-27 10:40:33 +01:00
Christian 609205f1e8 remove trailing whitespace 2020-11-27 10:40:33 +01:00
Christian 06117a61e1 highlighter: windows terminal is not old win_term 2020-11-27 09:49:17 +01:00
Christian Brabandt 79eac1558a Merge pull request #2293 from srinivas32/master
added power support arch ppc64le on yml file.
2020-11-27 08:32:38 +01:00
Christian Brabandt 157af8ad8b tabline: use airline#util#strcharpart instead on relying on stpart() with char index 2020-11-26 14:00:29 +01:00
Christian Brabandt cbf0a8e69a tabline: use strpart() with chars if possible (fixes #2297) 2020-11-26 10:04:43 +01:00
Christian Brabandt a168ca7a28 tabline: get rid of s:vars in default formatter 2020-11-26 10:04:43 +01:00
Christian Brabandt a48f67657f Merge pull request #2295 from nbCloud91/patch-1
coc_status should show with autochdir
2020-11-21 20:03:04 +01:00
nbCloud91 332fff9206 coc_status should show with autochdir
coc_status should be visible even with autochdir setting on.
2020-11-21 20:47:17 +05:30
srinivas32 c378a0aeb7 added power support arch ppc64le on yml file.
Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le.
2020-11-20 13:27:49 +05:30
Christian 91a8ada0f9 doc: document tabline highlighting groups (closes #2285) 2020-11-19 14:17:22 +01:00
Christian beb20cb49f doc: mention that the tabline mappings are not automatically created
related: #2290
2020-11-19 13:52:08 +01:00
Christian Brabandt 536667191d Merge pull request #2287 from timfeirg/master
buf_diagnostics_count is deprecated. Use 'vim.lsp.diagnostic.get_count'
2020-11-14 12:11:18 +01:00
timfeirg 5eae08609e fix deprecation warning
code is copied from https://github.com/vim-airline/vim-airline/issues/2289
originally contributed by @cmccannbrite
2020-11-14 17:01:19 +08:00
Christian Brabandt 731bdb11d2 Merge pull request #2286 from jan-xyz/patch-1
remove work-around for vista.vim
2020-11-10 08:47:56 +01:00
Jan Steinke df096e16ae remove unnecessary indirection 2020-11-10 08:40:42 +01:00
Jan Steinke 7091b8a6ff remove work-around for vista.vim 2020-11-09 20:17:05 +01:00
Christian Brabandt 9267cef0f8 Merge pull request #2282 from martskins/handle-lcn-not-running
Check LanguageClient-neovim's status before getting diagnostics
2020-11-09 18:35:51 +01:00
Christian Brabandt bb760710cc Merge pull request #2283 from Kamilcuk/master
Fix typo in checking if gen_tags plugin is loaded
2020-11-09 18:26:12 +01:00
Kamil Cukrowski f6f8666533 Fix bug in checking if gen_tags plugin is loaded 2020-11-08 11:01:26 +01:00
Martin Asquino bd5ae9c584 Check LanguageClient-neovim's status before getting diagnostics 2020-11-07 12:59:13 +00:00
Christian Brabandt 5f2421fa39 Merge pull request #2276 from kazukazuinaina/fix_indent_bookmark_extension
[fix] bookmark extension's indentation and add abort
2020-11-06 09:11:35 +01:00
Christian Brabandt 3f4b811510 Merge pull request #2278 from kazukazuinaina/fix_short_path_space
[fix] short path formatter's space
2020-11-06 09:10:34 +01:00
kazukazuinaina 1ed922265a [fix] short path formatter's space 2020-11-05 23:44:29 +09:00
kazukazuinaina 83804f3c6d [fix] bookmark extension's indentation and add abort 2020-11-05 23:14:13 +09:00
Christian Brabandt d64e5f8dd7 extensions: fix E715
Make sure, that the get() function returns the correct variable type
2020-11-05 10:36:03 +01:00
Christian Brabandt dcebc6d2aa Merge pull request #2273 from NFrid/master
add more customization options for keymap extension
2020-11-05 09:23:58 +01:00
Nick Friday 193460137a [add#keymap] more customization
Added more customization for keymap extension
2020-11-04 20:46:00 +03:00
Christian Brabandt 44b7b72938 Merge pull request #2266 from vim-airline/refactor_airline_gui_mode
Get rid of g:airline_gui_mode
2020-10-30 09:18:29 +01:00
Christian Brabandt c8c0e7d9ff Get rid of g:airline_gui_mode
This is needed for Neovim, because an external UI could be attached to
the same neovim server, so it does not make sense to define highlighting
groups with either only the cterm or the guifg attribute set.

So refactor the code slightly got get rid of this variable (and since
this variable is not needed anymore, we can also get rid of the guienter
and OptionSet autocommand).

fixes: #2261
2020-10-30 08:32:35 +01:00
Christian Brabandt 38c9f9ca3d Merge pull request #2256 from Kamilcuk/master
Add gen_tags.vim plugin support
2020-10-29 13:41:35 +01:00
Kamil Cukrowski 42b31b966b Add gen_tags.vim plugin support
Display a "Gen. gen_tags" text in section x when gen_tags
is generating tags, similar to gutentags support.
2020-10-22 00:16:05 +02:00