summaryrefslogtreecommitdiffstats
path: root/indent/erlang.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-12-21 14:41:23 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-12-21 14:41:23 +0100
commit87a26c5bf169bafbee837e2323f24cfb07e35250 (patch)
tree326eb21bb10c3d3633b83263d21c85c98f92a67e /indent/erlang.vim
parent918610d427503c5c7b380eae4a954bd8cb427db5 (diff)
downloadvim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.tar.gz
vim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.zip
Update
Diffstat (limited to 'indent/erlang.vim')
-rw-r--r--indent/erlang.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/indent/erlang.vim b/indent/erlang.vim
index 5a5637a7..adfd0dd9 100644
--- a/indent/erlang.vim
+++ b/indent/erlang.vim
@@ -36,6 +36,8 @@ endif
setlocal indentexpr=ErlangIndent()
setlocal indentkeys+=0=end,0=of,0=catch,0=after,0=when,0=),0=],0=},0=>>
+let b:undo_indent = "setl inde< indk<"
+
" Only define the functions once
if exists("*ErlangIndent")
finish