neovim/runtime/ftplugin/editorconfig.vim
Christian Clason dcaf9a60e9 vim-patch:51754c8: runtime(editorconfig): set omnifunc to syntaxcomplete func
closes: vim/vim#16419

51754c8a49

Co-authored-by: Yochem van Rosmalen <git@yochem.nl>
2025-01-11 00:44:06 +01:00

16 lines
313 B
VimL

" Vim filetype plugin
" Language: EditorConfig
" Maintainer: Riley Bruins <ribru17@gmail.com>
" Last Change: 2025 Jan 10
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
setl comments=:#,:; commentstring=#\ %s
setl omnifunc=syntaxcomplete#Complete
let b:undo_ftplugin = 'setl com< cms< ofu<'