From e9d4ff75da23811816e03790d44d83898ddafd41 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 18 Nov 2020 12:01:43 +0100 Subject: [PATCH] highlighter: vim9 script implementation of add_accent --- autoload/airline/highlighter.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 249f2ee6..a1bf53a8 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -519,4 +519,7 @@ else s:separators[from .. to] = [from, to, inverse] s:exec_separator({}, from, to, inverse, '') enddef + def airline#highlighter#add_accent(accent: string): void # {{{2 + s:accents[accent] = 1 + enddef endif " }}}1