mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
0abaccb2a7
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
15addb24dd
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
14 lines
260 B
VimL
14 lines
260 B
VimL
" 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<'
|