diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 00:20:39 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 00:20:39 -0500 |
commit | bb6a0fef16875798ac6242ea66b58383368ce57a (patch) | |
tree | 26b215da9efa966f4df8e1ac48422a67323597e9 | |
parent | 365b7cdd4345fa15a7b00e68f468bc355bbc86ad (diff) | |
download | vim-foldtext-bb6a0fef16875798ac6242ea66b58383368ce57a.tar.gz vim-foldtext-bb6a0fef16875798ac6242ea66b58383368ce57a.zip |
set -> setlocal
-rw-r--r-- | vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -320,12 +320,12 @@ autocmd FileType perl setlocal keywordprg=perldoc\ -f autocmd FileType tex setlocal makeprg=~/bin/latexpdf\ --show\ % " }}} " Lua needs to have commentstring set {{{ -autocmd FileType lua set commentstring=--%s +autocmd FileType lua setlocal commentstring=--%s " }}} " Set up custom folding {{{ -autocmd FileType tex set foldtext=Latex_foldtext() -autocmd FileType cpp set foldtext=Cpp_foldtext() -autocmd FileType perl set foldtext=Perl_foldtext() +autocmd FileType tex setlocal foldtext=Latex_foldtext() +autocmd FileType cpp setlocal foldtext=Cpp_foldtext() +autocmd FileType perl setlocal foldtext=Perl_foldtext() " }}} "}}} |