From 1ba1a3851a3e548cccc716b35d5711497541165d Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 3 Dec 2018 23:44:36 +0000 Subject: [PATCH] vim foldmethod moved to after/ftplugin --- vimrc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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