mirror of
https://github.com/tpope/vim-haml.git
synced 2025-12-06 09:14:25 +08:00
Add missing b:undo_indent
This commit is contained in:
@@ -14,6 +14,8 @@ setlocal autoindent
|
|||||||
setlocal indentexpr=GetHamlIndent()
|
setlocal indentexpr=GetHamlIndent()
|
||||||
setlocal indentkeys=o,O,*<Return>,},],0),!^F,=end,=else,=elsif,=rescue,=ensure,=when
|
setlocal indentkeys=o,O,*<Return>,},],0),!^F,=end,=else,=elsif,=rescue,=ensure,=when
|
||||||
|
|
||||||
|
let b:undo_indent = "setl ai< inde< indk<"
|
||||||
|
|
||||||
" Only define the function once.
|
" Only define the function once.
|
||||||
if exists("*GetHamlIndent")
|
if exists("*GetHamlIndent")
|
||||||
finish
|
finish
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ setlocal autoindent sw=2 et
|
|||||||
setlocal indentexpr=GetSassIndent()
|
setlocal indentexpr=GetSassIndent()
|
||||||
setlocal indentkeys=o,O,*<Return>,<:>,!^F
|
setlocal indentkeys=o,O,*<Return>,<:>,!^F
|
||||||
|
|
||||||
|
let b:undo_indent = "setl ai< inde< indk<"
|
||||||
|
|
||||||
" Only define the function once.
|
" Only define the function once.
|
||||||
if exists("*GetSassIndent")
|
if exists("*GetSassIndent")
|
||||||
finish
|
finish
|
||||||
|
|||||||
Reference in New Issue
Block a user