Mercurial > vim
diff runtime/ftplugin/erlang.vim @ 3410:94601b379f38
Updated runtime files. Add Dutch translations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 11 Mar 2012 15:57:40 +0100 |
parents | b37888de599c |
children | 5b7ea82bc18f |
line wrap: on
line diff
--- a/runtime/ftplugin/erlang.vim +++ b/runtime/ftplugin/erlang.vim @@ -19,6 +19,9 @@ else let s:did_function_definitions = 1 endif +let s:cpo_save = &cpo +set cpo&vim + if !exists('g:erlang_keywordprg') let g:erlang_keywordprg = 'erl -man' endif @@ -76,3 +79,9 @@ function ErlangFoldText() endfunction call s:SetErlangOptions() + +let b:undo_ftplugin = "setlocal foldmethod< foldexpr< foldtext<" + \ . " comments< commentstring< formatoptions<" + +let &cpo = s:cpo_save +unlet s:cpo_save