runtime(dockerfile): set comments in filetype plugin
Commit:
https://github.com/vim/vim/commit/61af587f26f56be7d6b55f77e42cc89504942cc0
Author: David Mandelberg <[email protected]>
Date: Sat Feb 22 15:09:03 2025 +0100
runtime(dockerfile): set comments in filetype plugin
closes: https://github.com/vim/vim/issues/16698
Signed-off-by: David Mandelberg <[email protected]>
Signed-off-by: Honza Pokorny <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/dockerfile.vim b/runtime/ftplugin/dockerfile.vim
index e45bf4c1d..f9268fe89 100644
--- a/runtime/ftplugin/dockerfile.vim
+++ b/runtime/ftplugin/dockerfile.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Dockerfile
" Maintainer: Honza Pokorny <http://honza.ca>
-" 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<"
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tlqHY-006VSA-DY%40256bit.org.