From: David Mandelberg Date: Sat, 22 Feb 2025 14:09:03 +0000 (+0100) Subject: runtime(dockerfile): set comments in filetype plugin X-Git-Tag: v9.1.1137~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61af587f26f56be7d6b55f77e42cc89504942cc0;p=thirdparty%2Fvim.git runtime(dockerfile): set comments in filetype plugin closes: #16698 Signed-off-by: David Mandelberg Signed-off-by: Honza Pokorny Signed-off-by: Christian Brabandt --- diff --git a/runtime/ftplugin/dockerfile.vim b/runtime/ftplugin/dockerfile.vim index e45bf4c1d8..f9268fe89b 100644 --- a/runtime/ftplugin/dockerfile.vim +++ b/runtime/ftplugin/dockerfile.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: Dockerfile " Maintainer: Honza Pokorny -" Last Change: 2024 Dec 20 +" Last Change: 2025 Feb 21 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -11,6 +11,7 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 +setlocal comments=:# setlocal commentstring=#\ %s -let b:undo_ftplugin = "setl commentstring<" +let b:undo_ftplugin = "setl comments< commentstring<"