runtime(cook): include cook filetype plugin

Commit: 
https://github.com/vim/vim/commit/19bc76c929a9d3f87d4ea932ba5c540bcd6023ee
Author: Riley Bruins <ribr...@hotmail.com>
Date:   Mon Nov 4 19:50:47 2024 +0100

    runtime(cook): include cook filetype plugin
    
    References:
    https://github.com/cooklang/spec?tab=readme-ov-file#comments
    
    closes: #15989
    
    Signed-off-by: Riley Bruins <ribr...@hotmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index ea342ef7a..e2f1fafd9 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -128,6 +128,7 @@ runtime/ftplugin/chatito.vim                @ObserverOfTime
 runtime/ftplugin/chicken.vim           @evhan
 runtime/ftplugin/clojure.vim           @axvr
 runtime/ftplugin/cmakecache.vim                @ribru17
+runtime/ftplugin/cook.vim              @ribru17
 runtime/ftplugin/cs.vim                        @nickspoons
 runtime/ftplugin/csh.vim               @dkearns
 runtime/ftplugin/css.vim               @dkearns
diff --git a/runtime/ftplugin/cook.vim b/runtime/ftplugin/cook.vim
new file mode 100644
index 000000000..3697803e7
--- /dev/null
+++ b/runtime/ftplugin/cook.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin
+" Language:    Cooklang
+" Maintainer:  Riley Bruins <ribr...@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<'

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1t82J4-00E9Vc-8E%40256bit.org.

Raspunde prin e-mail lui