diff --git a/indent/json.vim b/indent/json.vim index 7873d65..c0eae91 100644 --- a/indent/json.vim +++ b/indent/json.vim @@ -22,6 +22,8 @@ setlocal nosmartindent setlocal indentexpr=GetJSONIndent() setlocal indentkeys=0{,0},0),0[,0],!^F,o,O,e +let b:undo_indent = "setl inde< indk< si<" + " Only define the function once. if exists("*GetJSONIndent") finish