runtime(asm): missing setlocal in indent plugin (#14658)
Commit:
https://github.com/vim/vim/commit/2e9b9e9a9ebf3fd40437260ecd6b1e23b02c636b
Author: Marc Sven Schulte <[email protected]>
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
<[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1s1ASN-00399s-2e%40256bit.org.