runtime: Set b:undo_indent where missing (#12944)
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
" Language: Go
|
||||
" Maintainer: David Barnett (https://github.com/google/vim-ft-go)
|
||||
" Last Change: 2017 Jun 13
|
||||
" 2023 Aug 28 by Vim Project (undo_indent)
|
||||
"
|
||||
" TODO:
|
||||
" - function invocations split across lines
|
||||
@ -19,6 +20,8 @@ setlocal autoindent
|
||||
setlocal indentexpr=GoIndent(v:lnum)
|
||||
setlocal indentkeys+=<:>,0=},0=)
|
||||
|
||||
let b:undo_indent = "setl ai< inde< indk< lisp<"
|
||||
|
||||
if exists('*GoIndent')
|
||||
finish
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user