runtime(dosini): Add support for # comments to ftplugin Commit: https://github.com/vim/vim/commit/911742a975caf69c1e35a866288f58450eb476cd Author: David Mandelberg <da...@mandelberg.org> Date: Thu Feb 20 20:43:10 2025 +0100
runtime(dosini): Add support for # comments to ftplugin runtime/syntax/dosini.vim supports both ; and # as comments, and I think a bunch of the files detected as dosini do too, so add support for # to the ftplugin. closes: #16681 Signed-off-by: David Mandelberg <da...@mandelberg.org> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/ftplugin/dosini.vim b/runtime/ftplugin/dosini.vim index 6a53dfd09..3470bd3b3 100644 --- a/runtime/ftplugin/dosini.vim +++ b/runtime/ftplugin/dosini.vim @@ -1,7 +1,8 @@ " Vim filetype plugin file " Language: Configuration File (ini file) for MS-DOS/MS Windows +" Maintainer: This runtime file is looking for a new maintainer. " Previous Maintainer: Nikolai Weibull <n...@bitwi.se> -" Latest Revision: 2008-07-09 +" Latest Revision: 2025 Feb 20 if exists("b:did_ftplugin") finish @@ -13,7 +14,7 @@ set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" -setlocal comments=:; commentstring=;\ %s formatoptions-=t formatoptions+=croql +setlocal comments=:;,:# commentstring=;\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save -- -- 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/E1tlCTt-0032gX-Sk%40256bit.org.