mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-05 19:13:21 +08:00
highlighter: vim9 script implementation of add_separator
This commit is contained in:
committed by
Christian Brabandt
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
|
||||
|
||||
Reference in New Issue
Block a user