From: Marc Sven Schulte <167623652+msschulte@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:43:03 +0000 (+0200) Subject: runtime(asm): missing setlocal in indent plugin (#14658) X-Git-Tag: v9.1.0381~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9b9e9a9ebf3fd40437260ecd6b1e23b02c636b;p=thirdparty%2Fvim.git runtime(asm): missing setlocal in indent plugin (#14658) Signed-off-by: Marc Sven Schulte <167623652+msschulte@users.noreply.github.com> Signed-off-by: Christian Brabandt --- diff --git a/runtime/indent/asm.vim b/runtime/indent/asm.vim index 4efa766d4d..054612b9d6 100644 --- a/runtime/indent/asm.vim +++ b/runtime/indent/asm.vim @@ -13,7 +13,7 @@ let b:did_indent = 1 setlocal indentexpr=s:getAsmIndent() setlocal indentkeys=<:>,!^F,o,O -let b:undo_indent = "indentexpr< indentkeys<" +let b:undo_indent = "setlocal indentexpr< indentkeys<" function! s:getAsmIndent() let line = getline(v:lnum)