mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-30 01:14:58 +02:00
highlighter: vim9 script implementation of add_separator
This commit is contained in:
parent
56ba4b34a7
commit
5ac55ea4e5
@ -515,4 +515,8 @@ else
|
||||
airline#highlighter#highlight(['normal'])
|
||||
endif
|
||||
enddef
|
||||
def! airline#highlighter#add_separator(from: string, to: string, inverse: bool): void # {{{2
|
||||
s:separators[from .. to] = [from, to, inverse]
|
||||
s:exec_separator({}, from, to, inverse, '')
|
||||
enddef
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user