Commit: runtime(hog): set undo_ftplugin correctly, delete trailing whitespace

0 views
Skip to first unread message

Christian Brabandt

unread,
3:30 PM (1 hour ago) 3:30 PM
to vim...@googlegroups.com
runtime(hog): set undo_ftplugin correctly, delete trailing whitespace

Commit: https://github.com/vim/vim/commit/ffc7f8c9dac67cce6c020e8c4158972e2a88ce24
Author: D. Ben Knoble <ben.knob...@gmail.com>
Date: Wed Dec 3 20:15:06 2025 +0000

runtime(hog): set undo_ftplugin correctly, delete trailing whitespace

closes: https://github.com/vim/vim/issues/18727

Signed-off-by: D. Ben Knoble <ben.knob...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/hog.vim b/runtime/ftplugin/hog.vim
index 4ee0a9f93..61714f2db 100644
--- a/runtime/ftplugin/hog.vim
+++ b/runtime/ftplugin/hog.vim
@@ -2,13 +2,14 @@
" Language: hog (snort.conf)
" Maintainer: . Victor Roemer, <vro...@badsec.org>.
" Last Change: Mar 1, 2013
+" 2025 Dec 03 by Vim Project: set undo_ftplugin correctly #18727

if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1

-let s:undo_ftplugin = "setl fo< com< cms< def< inc<"
+let b:undo_ftplugin = "setl fo< com< cms< def< inc<"

let s:cpo_save = &cpo
set cpo&vim
@@ -19,8 +20,8 @@ setlocal commentstring=
Reply all
Reply to author
Forward
0 new messages