mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.2523: Svelte filetype not recognized (#13961)
Problem: Svelte filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7858)
c0fcb6e0b1
This commit is contained in:
parent
64b7d7ae78
commit
18f90336cb
@ -1494,6 +1494,9 @@ au BufNewFile,BufRead *.sdl,*.pr setf sdl
|
||||
" sed
|
||||
au BufNewFile,BufRead *.sed setf sed
|
||||
|
||||
" svelte
|
||||
au BufNewFile,BufRead *.svelte setf svelte
|
||||
|
||||
" Sieve (RFC 3028, 5228)
|
||||
au BufNewFile,BufRead *.siv,*.sieve setf sieve
|
||||
|
||||
|
@ -428,6 +428,7 @@ let s:filename_checks = {
|
||||
\ 'slrnrc': ['.slrnrc'],
|
||||
\ 'slrnsc': ['file.score'],
|
||||
\ 'sm': ['sendmail.cf'],
|
||||
\ 'svelte': ['file.svelte'],
|
||||
\ 'smarty': ['file.tpl'],
|
||||
\ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'],
|
||||
\ 'smith': ['file.smt', 'file.smith'],
|
||||
|
Loading…
Reference in New Issue
Block a user