vim foldmethod moved to after/ftplugin
This commit is contained in:
parent
dc0c2bafd7
commit
1ba1a3851a
7
vimrc
7
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue