summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-19 16:27:31 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-19 16:27:31 +0200
commit38654503b04dd5ff4813f81892d9f62db1ff01b9 (patch)
treea285e54793efa2744d20d38e3cb210e13f7c6f73 /runtime
parent2c64ca1802b2c99b16d2fdf581b68b5baffb082a (diff)
patch 8.1.0484: some file types are not recognizedv8.1.0484
Problem: Some file types are not recognized. Solution: Update the file type detection.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 98b5c71f2c..218b01fb65 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1263,9 +1263,9 @@ au BufNewFile,BufRead */etc/protocols setf protocols
" 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 sdl
" 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