commit fc8e786dae255b8ed63f57e4ae2cd85addbee7b9
parent 9ee1c87591ea1bfe43806d8c143cf872ae58f937
Author: Christian Clason <c.clason@uni-graz.at>
Date: Mon, 4 Nov 2024 20:05:00 +0100
vim-patch:19bc76c: runtime(cook): include cook filetype plugin
References:
https://github.com/cooklang/spec?tab=readme-ov-file#comments
closes: vim/vim#15989
https://github.com/vim/vim/commit/19bc76c929a9d3f87d4ea932ba5c540bcd6023ee
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat:
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/cook.vim b/runtime/ftplugin/cook.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language: Cooklang
+" Maintainer: Riley Bruins <ribru17@gmail.com>
+" Last Change: 2024 Nov 03
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=:-- commentstring=--\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'