mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 16:18:54 +08:00
highlighter: vim9 script implementation of add_separator
This commit is contained in:
1 parent
56ba4b34a7
commit
5ac55ea4e5
1 file changed
+4
@@ -515,4 +515,8 @@ else
|
|||||||
airline#highlighter#highlight(['normal'])
|
airline#highlighter#highlight(['normal'])
|
||||||
endif
|
endif
|
||||||
enddef
|
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
|
endif
|
||||||
Reference in new issue
Block a user