summaryrefslogtreecommitdiffstats
path: root/ftplugin/erlang.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/erlang.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/erlang.vim b/ftplugin/erlang.vim
index f75f47ae..4f1acfe8 100644
--- a/ftplugin/erlang.vim
+++ b/ftplugin/erlang.vim
@@ -39,6 +39,9 @@ function s:SetErlangOptions()
setlocal omnifunc=erlangcomplete#Complete
endif
+ setlocal comments=:%%%,:%%,:%
+ setlocal commentstring=%%s
+
setlocal foldmethod=expr
setlocal foldexpr=GetErlangFold(v:lnum)
setlocal foldtext=ErlangFoldText()