summaryrefslogtreecommitdiff
path: root/uvim/runtime/ftplugin/hgcommit.vim
diff options
context:
space:
mode:
Diffstat (limited to 'uvim/runtime/ftplugin/hgcommit.vim')
-rw-r--r--uvim/runtime/ftplugin/hgcommit.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/uvim/runtime/ftplugin/hgcommit.vim b/uvim/runtime/ftplugin/hgcommit.vim
new file mode 100644
index 0000000000..1bbb6faaae
--- /dev/null
+++ b/uvim/runtime/ftplugin/hgcommit.vim
@@ -0,0 +1,20 @@
+" Vim filetype plugin file
+" Language: hg (Mercurial) commit file
+" Maintainer: Ken Takata <kentkt at csc dot jp>
+" 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
+endif
+let b:did_ftplugin = 1
+
+setlocal nomodeline
+
+setlocal comments=:HG\:
+setlocal commentstring=HG:\ %s
+
+let b:undo_ftplugin = 'setl modeline< com< cms<'