diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-11-04 20:05:00 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-11-05 08:31:19 +0100 |
commit | fc8e786dae255b8ed63f57e4ae2cd85addbee7b9 (patch) | |
tree | 6d6ce2aa36cbbf0121947aeb27fc32438159b08d | |
parent | 9ee1c87591ea1bfe43806d8c143cf872ae58f937 (diff) | |
download | rneovim-fc8e786dae255b8ed63f57e4ae2cd85addbee7b9.tar.gz rneovim-fc8e786dae255b8ed63f57e4ae2cd85addbee7b9.tar.bz2 rneovim-fc8e786dae255b8ed63f57e4ae2cd85addbee7b9.zip |
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>
-rw-r--r-- | runtime/ftplugin/cook.vim | 13 |
1 files changed, 13 insertions, 0 deletions
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 <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<' |