summaryrefslogtreecommitdiff
path: root/.vim/after/ftplugin/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
commit3446f5387389b0e1671481c8a8fb9ea0eed519f6 (patch)
tree543bde435847c700507c3b229460b446f4a09028 /.vim/after/ftplugin/vim
parentc9f80e43f431d89bbccd1ecc68c7b48fb8c01dd4 (diff)
Remove . from dotfiles for convenience
Diffstat (limited to '.vim/after/ftplugin/vim')
-rw-r--r--.vim/after/ftplugin/vim/folding.vim25
1 files changed, 0 insertions, 25 deletions
diff --git a/.vim/after/ftplugin/vim/folding.vim b/.vim/after/ftplugin/vim/folding.vim
deleted file mode 100644
index 1454cbe..0000000
--- a/.vim/after/ftplugin/vim/folding.vim
+++ /dev/null
@@ -1,25 +0,0 @@
-function! VimFolds()
- let thisline = getline(v:lnum)
- if match(thisline,'^"" ') >= 0
- return ">1"
- elseif match(thisline,'^" ') >=0
- return ">1"
- else
- return "="
- endif
-endfunction
-
-function! VimFoldText()
- let startline = getline(v:foldstart)
- if match(startline,'^"" ') >= 0
- let title = substitute(startline,'^"" \(.*\)$','\1',"")
- return '# ' . title
- elseif match(startline,'^" ') >=0
- let title = substitute(startline,'^" \(.*\)$','\1',"")
- return ' ## ' .title
- endif
-endfunction
-
-setlocal foldmethod=expr
-setlocal foldexpr=VimFolds()
-setlocal foldtext=VimFoldText()