diff options
author | Christian Clason <c.clason@uni-graz.at> | 2025-02-22 15:45:01 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2025-02-22 16:17:11 +0100 |
commit | 90958c36483e9a6dc935bb73709fdf888018fe9f (patch) | |
tree | f127ef7eb9def0d24bb1768b4a95db15c145a9be | |
parent | 5f11efe42339e8dec752818ca8f22f5b1c825f35 (diff) | |
download | rneovim-90958c36483e9a6dc935bb73709fdf888018fe9f.tar.gz rneovim-90958c36483e9a6dc935bb73709fdf888018fe9f.tar.bz2 rneovim-90958c36483e9a6dc935bb73709fdf888018fe9f.zip |
vim-patch:61af587: runtime(dockerfile): set comments in filetype plugin
closes: vim/vim#16698
https://github.com/vim/vim/commit/61af587f26f56be7d6b55f77e42cc89504942cc0
Co-authored-by: David Mandelberg <david@mandelberg.org>
-rw-r--r-- | runtime/ftplugin/dockerfile.vim | 5 |
1 files changed, 3 insertions, 2 deletions
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 <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<" |