diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-06-18 18:49:32 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-06-19 11:10:26 +0200 |
| commit | 2379fb053a57ddaef5fdef0671e50aaf70604b75 (patch) | |
| tree | 46303689b9c0ca8133f232b11ceea59c4a8bd1b7 /runtime/ftplugin/hgcommit.vim | |
| parent | 255f313cf6e87709e999615624e928c4c3a68af7 (diff) | |
| download | rneovim-2379fb053a57ddaef5fdef0671e50aaf70604b75.tar.gz rneovim-2379fb053a57ddaef5fdef0671e50aaf70604b75.tar.bz2 rneovim-2379fb053a57ddaef5fdef0671e50aaf70604b75.zip | |
vim-patch:8b92af6: runtime(hgcommit): set comments and commentstring options in filetype plugin
closes: vim/vim#17480
https://github.com/vim/vim/commit/8b92af645c18a5a1a9d493ef2ee89422b2923ca3
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat (limited to 'runtime/ftplugin/hgcommit.vim')
| -rw-r--r-- | runtime/ftplugin/hgcommit.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/ftplugin/hgcommit.vim b/runtime/ftplugin/hgcommit.vim index d5a6c0a383..1bbb6faaae 100644 --- a/runtime/ftplugin/hgcommit.vim +++ b/runtime/ftplugin/hgcommit.vim @@ -1,10 +1,11 @@ " Vim filetype plugin file " Language: hg (Mercurial) commit file " Maintainer: Ken Takata <kentkt at csc dot jp> -" Last Change: 2016 Jan 6 +" Last Change: 2025 Jun 8 " Filenames: hg-editor-*.txt " License: VIM License " URL: https://github.com/k-takata/hg-vim +" 2025 Jun 18 by Vim Project: update commentstring option (#17480) if exists("b:did_ftplugin") finish @@ -13,4 +14,7 @@ let b:did_ftplugin = 1 setlocal nomodeline -let b:undo_ftplugin = 'setl modeline<' +setlocal comments=:HG\: +setlocal commentstring=HG:\ %s + +let b:undo_ftplugin = 'setl modeline< com< cms<' |