update MyFoldText ignore "{{{
This commit is contained in:
parent
ad485a65ad
commit
a8a309d0bd
6
vimrc
6
vimrc
|
@ -41,8 +41,10 @@ augroup END
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" #php.vim
|
" #php.vim{{{
|
||||||
" https://github.com/StanAngeloff/php.vim
|
" https://github.com/StanAngeloff/php.vim
|
||||||
|
Plug 'StanAngeloff/php.vim'
|
||||||
|
"}}}
|
||||||
|
|
||||||
" #tagbar {{{
|
" #tagbar {{{
|
||||||
Plug 'majutsushi/tagbar'
|
Plug 'majutsushi/tagbar'
|
||||||
|
@ -558,7 +560,7 @@ function! MyFoldText() "{{{
|
||||||
|
|
||||||
let l:linecount = v:foldend - v:foldstart
|
let l:linecount = v:foldend - v:foldstart
|
||||||
" don't display foldmarker braces
|
" don't display foldmarker braces
|
||||||
let l:line = substitute(getline(v:foldstart), '\{\{\{', '', '')
|
let l:line = substitute(getline(v:foldstart), '"{{{', '', '')
|
||||||
" 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\\?", '', '')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue