diff options
Diffstat (limited to 'indent')
-rw-r--r-- | indent/eruby.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indent/eruby.vim b/indent/eruby.vim index 19109ceb..5f323857 100644 --- a/indent/eruby.vim +++ b/indent/eruby.vim @@ -19,6 +19,9 @@ else endif unlet! b:did_indent +" Force HTML indent to not keep state. +let b:html_indent_usestate = 0 + if &l:indentexpr == '' if &l:cindent let &l:indentexpr = 'cindent(v:lnum)' @@ -53,7 +56,8 @@ function! GetErubyIndent(...) else exe "let ind = ".b:eruby_subtype_indentexpr - " Workaround for Andy Wokula's HTML indent + " Workaround for Andy Wokula's HTML indent. This should be removed after + " some time, since the newest version is fixed in a different way. if b:eruby_subtype_indentexpr =~# '^HtmlIndent(' \ && exists('b:indent') \ && type(b:indent) == type({}) |