diff --git a/vimrc b/vimrc index 89b9343..1632a7f 100644 --- a/vimrc +++ b/vimrc @@ -645,6 +645,7 @@ function! MyFoldText() "{{{ " it as an actual fold marker let l:line = substitute(getline(v:foldstart), '"\?{\({\){', '', '') " don't display vim comment quotation marks + " TODO other comment markers let l:line = substitute(l:line, "\^\"\\s\\?", '', '') " let l:postfix = l:linecount . ' ' . substitute(v:folddashes, '-', '•', 'g') @@ -1034,11 +1035,7 @@ set laststatus=2 set shortmess=aoOT set cmdheight=3 -if &filetype ==? 'vim' - set foldmethod=marker -else - set foldmethod=manual -endif +set foldmethod=manual set showmode