1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
jdhao 3d5301d0c3 make sure snippets's filetype is correct
The filetype of xxx.snippets is not decided until we enter Insert mode,
since ultisnips is lazy-loaded in Insert mode.
2021-10-30 23:07:47 +08:00

5 lines
105 B
VimL

augroup det_snippet
autocmd!
autocmd BufRead,BufNewFile *.snippets set filetype=snippets
augroup END