mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
The filetype of xxx.snippets is not decided until we enter Insert mode, since ultisnips is lazy-loaded in Insert mode.
5 lines
105 B
VimL
5 lines
105 B
VimL
augroup det_snippet
|
|
autocmd!
|
|
autocmd BufRead,BufNewFile *.snippets set filetype=snippets
|
|
augroup END
|