mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-25 15:04:44 +02:00
[delete] single quote
This commit is contained in:
parent
ee80fd85cd
commit
1080056bca
@ -17,7 +17,7 @@ Describe builder.vim
|
|||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
It 'should reuse highlight group if background colors match'
|
It should reuse highlight group if background colors match
|
||||||
highlight Foo1 ctermfg=1 ctermbg=2
|
highlight Foo1 ctermfg=1 ctermbg=2
|
||||||
highlight Foo2 ctermfg=1 ctermbg=2
|
highlight Foo2 ctermfg=1 ctermbg=2
|
||||||
call s:builder.add_section('Foo1', 'hello')
|
call s:builder.add_section('Foo1', 'hello')
|
||||||
|
@ -27,26 +27,26 @@ Describe parts.vim
|
|||||||
Assert Equals(airline#parts#get('mw').minwidth, 123)
|
Assert Equals(airline#parts#get('mw').minwidth, 123)
|
||||||
End
|
End
|
||||||
|
|
||||||
It 'can define a condition'
|
It can define a condition
|
||||||
call airline#parts#define_condition('part', '1')
|
call airline#parts#define_condition('part', '1')
|
||||||
Assert Equals(airline#parts#get('part').condition, '1')
|
Assert Equals(airline#parts#get('part').condition, '1')
|
||||||
End
|
End
|
||||||
|
|
||||||
It 'can define a accent'
|
It can define a accent
|
||||||
call airline#parts#define_accent('part', 'red')
|
call airline#parts#define_accent('part', 'red')
|
||||||
Assert Equals(airline#parts#get('part').accent, 'red')
|
Assert Equals(airline#parts#get('part').accent, 'red')
|
||||||
End
|
End
|
||||||
|
|
||||||
It 'value should be blank'
|
It value should be blank
|
||||||
Assert Equals(airline#parts#filetype(), '')
|
Assert Equals(airline#parts#filetype(), '')
|
||||||
End
|
End
|
||||||
|
|
||||||
It 'can overwrIte a filetype'
|
It can overwrIte a filetype
|
||||||
set ft=aaa
|
set ft=aaa
|
||||||
Assert Equals(airline#parts#filetype(), 'aaa')
|
Assert Equals(airline#parts#filetype(), 'aaa')
|
||||||
End
|
End
|
||||||
|
|
||||||
It 'can overwrite a filetype'
|
It can overwrite a filetype
|
||||||
"GItHub actions's vim's column is smaller than 90
|
"GItHub actions's vim's column is smaller than 90
|
||||||
set ft=aaaa
|
set ft=aaaa
|
||||||
if &columns >= 90
|
if &columns >= 90
|
||||||
|
Loading…
x
Reference in New Issue
Block a user