runtime(ishd): set comments and commentstring options in filetype plugin Commit: https://github.com/vim/vim/commit/736cd18671895dc4875c4e00b19af417ec733087 Author: Riley Bruins <ribr...@hotmail.com> Date: Wed Jun 18 18:43:42 2025 +0200
runtime(ishd): set comments and commentstring options in filetype plugin closes: https://github.com/vim/vim/issues/17490 Signed-off-by: Riley Bruins <ribr...@hotmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/ftplugin/ishd.vim b/runtime/ftplugin/ishd.vim index 5e33efde7..5525cb6cd 100644 --- a/runtime/ftplugin/ishd.vim +++ b/runtime/ftplugin/ishd.vim @@ -2,7 +2,8 @@ " Language: InstallShield (ft=ishd) " Maintainer: Doug Kearns <dougkea...@gmail.com> " Previous Maintainer: Johannes Zellner <johan...@zellner.org> -" Last Change: 2024 Jan 14 +" Last Change: 2025 Jun 18 +" 2025 Jun 18 by Vim Project: set comments and commentstring option (#17490) if exists("b:did_ftplugin") | finish | endif let b:did_ftplugin = 1 @@ -12,8 +13,10 @@ let s:cpo_save = &cpo set cpo-=C setlocal foldmethod=syntax +setlocal commentstring=//\ %s +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// -let b:undo_ftplugin = "setl fdm<" +let b:undo_ftplugin = "setl fdm< com< cms" " matchit support if exists("loaded_matchit") -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1uRw8p-006M93-AW%40256bit.org.