mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 20:05:38 +00:00
vim-patch:8b92af6: runtime(hgcommit): set comments and commentstring options in filetype plugin
closes: vim/vim#17480
8b92af645c
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
committed by
Christian Clason
parent
255f313cf6
commit
2379fb053a
@@ -1,10 +1,11 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: hg (Mercurial) commit file
|
" Language: hg (Mercurial) commit file
|
||||||
" Maintainer: Ken Takata <kentkt at csc dot jp>
|
" Maintainer: Ken Takata <kentkt at csc dot jp>
|
||||||
" Last Change: 2016 Jan 6
|
" Last Change: 2025 Jun 8
|
||||||
" Filenames: hg-editor-*.txt
|
" Filenames: hg-editor-*.txt
|
||||||
" License: VIM License
|
" License: VIM License
|
||||||
" URL: https://github.com/k-takata/hg-vim
|
" URL: https://github.com/k-takata/hg-vim
|
||||||
|
" 2025 Jun 18 by Vim Project: update commentstring option (#17480)
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
@@ -13,4 +14,7 @@ let b:did_ftplugin = 1
|
|||||||
|
|
||||||
setlocal nomodeline
|
setlocal nomodeline
|
||||||
|
|
||||||
let b:undo_ftplugin = 'setl modeline<'
|
setlocal comments=:HG\:
|
||||||
|
setlocal commentstring=HG:\ %s
|
||||||
|
|
||||||
|
let b:undo_ftplugin = 'setl modeline< com< cms<'
|
||||||
|
|||||||
Reference in New Issue
Block a user