From 18f90336cbe31100a9ad03706c20a903e0c2975f Mon Sep 17 00:00:00 2001 From: Brian Ryall <115141+polarmutex@users.noreply.github.com> Date: Wed, 17 Feb 2021 18:22:48 -0500 Subject: 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) https://github.com/vim/vim/commit/c0fcb6e0b10050145e7d334b68b1bdc5201fed05 --- runtime/filetype.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9e70ef344d..6a13e67ac5 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 -- cgit