From e146e947c52ac4adbe426b3f893faff1e46ed5f8 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 19 Apr 2016 15:24:25 +0100 Subject: Use GNU stow for dotfiles management --- vim/after/ftplugin/freefem/folding.vim | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 vim/after/ftplugin/freefem/folding.vim (limited to 'vim/after/ftplugin/freefem/folding.vim') diff --git a/vim/after/ftplugin/freefem/folding.vim b/vim/after/ftplugin/freefem/folding.vim deleted file mode 100644 index 7d2f6fd..0000000 --- a/vim/after/ftplugin/freefem/folding.vim +++ /dev/null @@ -1,20 +0,0 @@ -function! FreeFemFolds() - let thisline = getline(v:lnum) - if match(thisline,'^/// ') >= 0 - return ">1" - else - return "=" - endif -endfunction - -function! FreeFemFoldText() - let startline = getline(v:foldstart) - if match(startline,'^/// ') >= 0 - let title = substitute(startline,'^/// \(.*\)$','\1',"") - return '# ' . title - endif -endfunction - -setlocal foldmethod=expr -setlocal foldexpr=FreeFemFolds() -setlocal foldtext=FreeFemFoldText() -- cgit v1.2.3