diff options
author | Christian Clason <c.clason@uni-graz.at> | 2025-02-21 09:41:58 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2025-02-21 10:03:52 +0100 |
commit | 9996a36cd563d8d07c8f6ca070755352c398bb5f (patch) | |
tree | 7d78011e7d86d72ffabbf7c91d9d5e0f3bf1bfe3 | |
parent | 562056c87573a532a0e670952d23d77026eeae28 (diff) | |
download | rneovim-9996a36cd563d8d07c8f6ca070755352c398bb5f.tar.gz rneovim-9996a36cd563d8d07c8f6ca070755352c398bb5f.tar.bz2 rneovim-9996a36cd563d8d07c8f6ca070755352c398bb5f.zip |
vim-patch:911742a: 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: vim/vim#16681
https://github.com/vim/vim/commit/911742a975caf69c1e35a866288f58450eb476cd
Co-authored-by: David Mandelberg <david@mandelberg.org>
-rw-r--r-- | runtime/ftplugin/dosini.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/dosini.vim b/runtime/ftplugin/dosini.vim index 6a53dfd096..3470bd3b3b 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 <now@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 |