From fc8e786dae255b8ed63f57e4ae2cd85addbee7b9 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 4 Nov 2024 20:05:00 +0100 Subject: 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 --- runtime/ftplugin/cook.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/ftplugin/cook.vim (limited to 'runtime') diff --git a/runtime/ftplugin/cook.vim b/runtime/ftplugin/cook.vim new file mode 100644 index 0000000000..3697803e74 --- /dev/null +++ b/runtime/ftplugin/cook.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: Cooklang +" Maintainer: Riley Bruins +" 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<' -- cgit