]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(go): fix `b:undo_ftplugin`
authorichizok <gclient.gaap@gmail.com>
Sat, 5 Jul 2025 13:18:41 +0000 (15:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 5 Jul 2025 13:18:41 +0000 (15:18 +0200)
commitf9d87fa6ba4b8026d089bf0fb755f6b0f7296408
treedc6519e6fc0b9ca552f1bdf35223409ffbdb0eb2
parenta494ce1c64a2637719a5c1339abf19ec7c48089c
runtime(go): fix `b:undo_ftplugin`

last `unmap` can cause the error "E31: No such mapping" when
`doaudocmd FileType go` if appending other commands to `b:undo_ftplugin` i.e.
the space and the next bar as `let b:undo_ftplugin .= ' | setl ...'`.

closes: #17664

Signed-off-by: ichizok <gclient.gaap@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/go.vim