diff options
author | Brian Ryall <115141+polarmutex@users.noreply.github.com> | 2021-02-17 18:22:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 00:22:48 +0100 |
commit | 18f90336cbe31100a9ad03706c20a903e0c2975f (patch) | |
tree | 686fd3ad07de93717d8294746e66011a34a66f77 /runtime | |
parent | 64b7d7ae78fe0d6a81f889db66510fd1d9810b03 (diff) | |
download | rneovim-18f90336cbe31100a9ad03706c20a903e0c2975f.tar.gz rneovim-18f90336cbe31100a9ad03706c20a903e0c2975f.tar.bz2 rneovim-18f90336cbe31100a9ad03706c20a903e0c2975f.zip |
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
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
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 |