diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-05 21:39:51 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-06 11:05:19 +0200 |
commit | 0abaccb2a795c40cd7f55b9a19fe6ecb765479e2 (patch) | |
tree | 0bb18425fc1a248348f0a6c2f22d81b46c7c4667 /runtime/ftplugin | |
parent | 3c53e8f78511d6db9a6c804e5a479ba38c33102d (diff) | |
download | rneovim-0abaccb2a795c40cd7f55b9a19fe6ecb765479e2.tar.gz rneovim-0abaccb2a795c40cd7f55b9a19fe6ecb765479e2.tar.bz2 rneovim-0abaccb2a795c40cd7f55b9a19fe6ecb765479e2.zip |
vim-patch:9.1.0532: filetype: Cedar files not recognized
Problem: filetype: Cedar files not recognized
Solution: Detect '*.cedar' files as cedar filetype
(Riley Bruins)
References: https://github.com/cedar-policy
closes: vim/vim#15148
https://github.com/vim/vim/commit/15addb24dd3b2645f5c04d2742ab5eb53444a3a0
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/cedar.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/cedar.vim b/runtime/ftplugin/cedar.vim new file mode 100644 index 0000000000..74a1903b46 --- /dev/null +++ b/runtime/ftplugin/cedar.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin +" Language: Cedar +" Maintainer: Riley Bruins <ribru17@gmail.com> +" Last Change: 2024 Jul 4 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:// commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' |