mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
aef120d1e9
Problem: filetype: ondir files are not recognized
Solution: Detect '.ondirrc' as ondir filetype
(Jon Parise)
closes: vim/vim#14604
ea999037a4
Co-authored-by: Jon Parise <jon@indelible.org>
19 lines
378 B
VimL
19 lines
378 B
VimL
" Vim filetype plugin file
|
|
" Language: ondir <https://github.com/alecthomas/ondir>
|
|
" Maintainer: Jon Parise <jon@indelible.org>
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
|
|
let s:cpo_save = &cpoptions
|
|
|
|
setlocal comments=:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = 'setl comments< commentstring<'
|
|
|
|
let &cpoptions = s:cpo_save
|
|
unlet s:cpo_save
|
|
|
|
" vim: et ts=4 sw=2 sts=2:
|