diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 7300fc1f..6854f34f 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1313,6 +1313,13 @@ autocmd BufNewFile,BufReadPost *.stylus set filetype=stylus augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'svelte') == -1 + augroup filetypedetect + " svelte, from svelte.vim in evanleck/vim-svelte +au BufRead,BufNewFile *.svelte setfiletype svelte + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sxhkd') == -1 augroup filetypedetect " sxhkd, from sxhkdrc.vim in baskerville/vim-sxhkdrc |