runtime(asm): missing setlocal in indent plugin (#14658) Commit: https://github.com/vim/vim/commit/2e9b9e9a9ebf3fd40437260ecd6b1e23b02c636b Author: Marc Sven Schulte <167623652+msschu...@users.noreply.github.com> Date: Sun Apr 28 21:43:03 2024 +0200
runtime(asm): missing setlocal in indent plugin (https://github.com/vim/vim/issues/14658) Signed-off-by: Marc Sven Schulte <167623652+msschu...@users.noreply.github.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/indent/asm.vim b/runtime/indent/asm.vim index 4efa766d4..054612b9d 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) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1s1ASN-00399s-2e%40256bit.org.