mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-26 10:13:42 +08:00
parent
19360bac63
commit
7e295c859f
|
@ -265,10 +265,8 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0) == 0
|
|||
endif
|
||||
return group
|
||||
endfunction
|
||||
|
||||
finish
|
||||
else
|
||||
|
||||
" Vim9 Script implementation
|
||||
def s:toggle_off(): void
|
||||
airline#extensions#tabline#autoshow#off()
|
||||
airline#extensions#tabline#tabs#off()
|
||||
|
|
|
@ -43,6 +43,7 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0) == 0
|
|||
endif
|
||||
return _
|
||||
endfunction
|
||||
finish
|
||||
else
|
||||
" Vim9 Script implementation
|
||||
def airline#extensions#tabline#formatters#default#format(bufnr: number, buffers: list<number>): string
|
||||
|
|
|
@ -80,6 +80,7 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0) == 0
|
|||
let a:palette.accents.purple = [ '#af00df' , '' , 128 , '' ]
|
||||
endif
|
||||
endfunction
|
||||
finish
|
||||
else
|
||||
" New Vim9 Script Implementation
|
||||
def airline#themes#generate_color_map(sect1: list<any>, sect2: list<any>, sect3: list<any>): dict<any>
|
||||
|
|
Loading…
Reference in New Issue
Block a user