update
This commit is contained in:
parent
e7c5f6a35c
commit
17ecfb4c36
5
vimrc
5
vimrc
|
@ -559,7 +559,7 @@ function! MyFoldText() "{{{
|
||||||
" don't display vim comment quotation marks
|
" don't display vim comment quotation marks
|
||||||
let l:line = substitute(l:line, "\^\"\\s\\?", '', '')
|
let l:line = substitute(l:line, "\^\"\\s\\?", '', '')
|
||||||
|
|
||||||
let l:postfix = ' +' . l:linecount . ' ' . substitute(v:folddashes, '-', '•', 'g')
|
let l:postfix = ' ↓ ' . l:linecount . ' ' . substitute(v:folddashes, '-', '•', 'g')
|
||||||
while strchars(l:postfix) < 11
|
while strchars(l:postfix) < 11
|
||||||
let l:postfix = ' ' . l:postfix
|
let l:postfix = ' ' . l:postfix
|
||||||
endwhile
|
endwhile
|
||||||
|
@ -571,7 +571,7 @@ function! MyFoldText() "{{{
|
||||||
let l:padding = ' '[l:len_line + l:len_postfix + 0:b:foldtext_column - 1]
|
let l:padding = ' '[l:len_line + l:len_postfix + 0:b:foldtext_column - 1]
|
||||||
let l:foldtext = l:line . l:padding . l:postfix
|
let l:foldtext = l:line . l:padding . l:postfix
|
||||||
else
|
else
|
||||||
let l:sniptext = '⋯'
|
let l:sniptext = ' ⋯'
|
||||||
let l:foldtext = l:line[:b:foldtext_column - 1 - strchars(l:sniptext) - l:len_postfix] . l:sniptext . l:postfix
|
let l:foldtext = l:line[:b:foldtext_column - 1 - strchars(l:sniptext) - l:len_postfix] . l:sniptext . l:postfix
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1063,6 +1063,7 @@ iabbrev fdr; flex-direction: row;
|
||||||
iabbrev fdc; flex-direction: column;
|
iabbrev fdc; flex-direction: column;
|
||||||
iabbrev jcc; justify-content: center;
|
iabbrev jcc; justify-content: center;
|
||||||
iabbrev aic; align-items: center;
|
iabbrev aic; align-items: center;
|
||||||
|
iabbrev m0; margin: 0;
|
||||||
iabbrev t0; top: 0;
|
iabbrev t0; top: 0;
|
||||||
iabbrev b0; bottom: 0;
|
iabbrev b0; bottom: 0;
|
||||||
iabbrev l0; left: 0;
|
iabbrev l0; left: 0;
|
||||||
|
|
Loading…
Reference in New Issue