diff runtime/filetype.vim @ 14946:8ca1dc213836 v8.1.0484

patch 8.1.0484: some file types are not recognized commit https://github.com/vim/vim/commit/38654503b04dd5ff4813f81892d9f62db1ff01b9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 19 16:27:31 2018 +0200 patch 8.1.0484: some file types are not recognized Problem: Some file types are not recognized. Solution: Update the file type detection.
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Oct 2018 16:30:09 +0200
parents 5c5908e81e93
children f8e6b4f82086
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1263,9 +1263,9 @@ au BufNewFile,BufRead */etc/protocols		s
 " Pyrex
 au BufNewFile,BufRead *.pyx,*.pxd		setf pyrex
 
-" Python, Python Shell Startup Files
+" Python, Python Shell Startup and Python Stub Files
 " Quixote (Python-based web framework)
-au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl  setf python
+au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl,*.pyi  setf python
 
 " Radiance
 au BufNewFile,BufRead *.rad,*.mat		setf radiance
@@ -1414,8 +1414,8 @@ au BufNewFile,BufRead *.sdl,*.pr		setf s
 " sed
 au BufNewFile,BufRead *.sed			setf sed
 
-" Sieve (RFC 3028)
-au BufNewFile,BufRead *.siv			setf sieve
+" Sieve (RFC 3028, 5228)
+au BufNewFile,BufRead *.siv,*.sieve		setf sieve
 
 " Sendmail
 au BufNewFile,BufRead sendmail.cf		setf sm