Christian
c08b1c0c75
tabline: fix vim9 error in toggle_on func
2020-11-27 10:43:49 +01:00
Christian
3d536ef950
tabline: fix vim9 error in init func
2020-11-27 10:43:49 +01:00
Christian
02aaaf94e8
tabline: Vim9 script implementation of load_theme
2020-11-27 10:43:49 +01:00
Christian
bbc70019f6
tabline: Vim9 script implementation of enable
2020-11-27 10:43:49 +01:00
Christian
0bc7ff3629
tabline: Vim9 script implementation of redraw
2020-11-27 10:43:49 +01:00
Christian
7880f0a73c
tabline: Vim9 script implementation of update_tabline
2020-11-27 10:43:49 +01:00
Christian
5502e5302d
tabline: Vim9 script implementation of toggle_on
2020-11-27 10:43:48 +01:00
Christian
59c906da4d
tabline: Vim9 script implementation of toggle_off
2020-11-27 10:43:48 +01:00
Christian
19f8be42b6
tabline: Vim9 script implementation of #init function
2020-11-27 10:43:48 +01:00
Christian
e81d400b09
tabline: check existence of "e" flag in guioptions
2020-11-27 10:43:48 +01:00
Christian
5062eeeaed
tabline: add foldmarkers and remove some empty lines
2020-11-27 10:43:48 +01:00
Christian
e6bd342293
tabline: prepare for vim9script implementation
2020-11-27 10:43:48 +01:00
Christian
caaa553ce9
tabline: set expandtab and foldmarker to modeline
2020-11-27 10:43:47 +01:00
Christian
b4e38be8b8
highlighter: fix indentation (tabs)
2020-11-27 10:43:47 +01:00
Christian
252b89bb1f
default tabline formmatter: fix indentation
2020-11-27 10:43:47 +01:00
Christian
b271c279d6
default tablineformmter: get rid of s: vars in legacy implementation
2020-11-27 10:43:44 +01:00
Christian
9387517f01
default tablineformatter: implement as vim9 script
2020-11-27 10:42:16 +01:00
Christian
8ec6f1e40f
tabline formatter: prepare for vim9 script implementation
2020-11-27 10:42:13 +01:00
Christian
0d0c380940
highlighter: fix a couple of vim9script errors and fix indentation
2020-11-27 10:40:38 +01:00
Christian
9f7557df44
highlighter: remove ! from :def in vim9script
2020-11-27 10:40:38 +01:00
Christian
f615f8bad3
autoload: bufnr argument of #highlight function is actually a string
2020-11-27 10:40:38 +01:00
Christian
f5e2f97003
highlighter: vim9 script implementation of #highlight()
2020-11-27 10:40:38 +01:00
Christian
14fd943dc6
highlighter: vim9 script implementation of highlight_modified_inactive
2020-11-27 10:40:37 +01:00
Christian
e9d4ff75da
highlighter: vim9 script implementation of add_accent
2020-11-27 10:40:37 +01:00
Christian
9b32ed3229
highlighter: remove ! from :def in vim9script
2020-11-27 10:40:37 +01:00
Christian
58b2a8bbc8
highlighter: add foldmarker at final endif
2020-11-27 10:40:37 +01:00
Christian
5ac55ea4e5
highlighter: vim9 script implementation of add_separator
2020-11-27 10:40:37 +01:00
Christian
56ba4b34a7
highlighter: vim9 fix duplicate variable name in s:exec_separator function
2020-11-27 10:40:37 +01:00
Christian
798a346a91
highlighter: vim9 script implementation of load_theme
2020-11-27 10:40:36 +01:00
Christian
4f8675434a
highlighter: get rid of superflous l: var prefix
2020-11-27 10:40:36 +01:00
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