From ae7ab9015999ba417642a5e0c785709f104d75cf Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 29 Aug 2023 11:03:29 +0200 Subject: vim-patch:0382f05dbd65 runtime: Set b:undo_indent where missing (vim/vim#12944) https://github.com/vim/vim/commit/0382f05dbd659d8e39ee4e71c1e5062ac5c0a8fd Co-authored-by: dkearns --- runtime/indent/vhdl.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/indent/vhdl.vim') diff --git a/runtime/indent/vhdl.vim b/runtime/indent/vhdl.vim index ad318066f4..b01d1156e9 100644 --- a/runtime/indent/vhdl.vim +++ b/runtime/indent/vhdl.vim @@ -3,6 +3,7 @@ " Maintainer: Gerald Lai " Version: 1.62 " Last Change: 2017 Oct 17 +" 2023 Aug 28 by Vim Project (undo_indent) " URL: http://www.vim.org/scripts/script.php?script_id=1450 " only load this indent file when no other was loaded @@ -19,6 +20,8 @@ setlocal indentkeys+==~if,=~then,=~elsif,=~else setlocal indentkeys+==~case,=~loop,=~for,=~generate,=~record,=~units,=~process,=~block,=~function,=~component,=~procedure setlocal indentkeys+==~architecture,=~configuration,=~entity,=~package +let b:undo_indent = "setlocal indentexpr< indentkeys<" + " constants " not a comment let s:NC = '\%(--.*\)\@