update MyFoldText ignore "{{{

This commit is contained in:
ManjaroOne666 2018-11-04 16:24:33 +00:00
parent ad485a65ad
commit a8a309d0bd
1 changed files with 4 additions and 2 deletions

6
vimrc
View File

@ -41,8 +41,10 @@ augroup END
"}}}
" #php.vim
" #php.vim{{{
" https://github.com/StanAngeloff/php.vim
Plug 'StanAngeloff/php.vim'
"}}}
" #tagbar {{{
Plug 'majutsushi/tagbar'
@ -558,7 +560,7 @@ function! MyFoldText() "{{{
let l:linecount = v:foldend - v:foldstart
" 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
let l:line = substitute(l:line, "\^\"\\s\\?", '', '')