summaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2014-12-05 16:11:52 +0000
committerUrbain Vaes <urbain@vaes.uk>2014-12-05 16:11:52 +0000
commit0ad6ca29caa4ceabf132fd939d6a20507793614e (patch)
tree861acfe988162631ec336a31303d1682708fe5fa /vim/after
parent0c0ecd54a39db2b3afc9edf8559f0b772042f7ed (diff)
parent7dee44901beca25b5d9f5b4b6f69107d3ba89603 (diff)
solving merge
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/vim/folding.vim50
1 files changed, 25 insertions, 25 deletions
diff --git a/vim/after/ftplugin/vim/folding.vim b/vim/after/ftplugin/vim/folding.vim
index 773b38e..7f8f28d 100644
--- a/vim/after/ftplugin/vim/folding.vim
+++ b/vim/after/ftplugin/vim/folding.vim
@@ -1,25 +1,25 @@
-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()
+" 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()