summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-15 20:24:58 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-15 20:24:58 +0200
commitad72350360d1a68d251da62a6e8610950926278c (patch)
tree9113907cc82c3c404200b2b1f36cd1f031fb762f /runtime/filetype.vim
parentb340baed9f7fc1c19a0742e2214d54982190c15e (diff)
patch 8.2.0983: SConstruct file type not recognizedv8.2.0983
Problem: SConstruct file type not recognized. Solution: Use python for SConstruct files. (Roland Hieber)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index cc3c01fbdc..b94951c549 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1296,7 +1296,8 @@ au BufNewFile,BufRead *.pyx,*.pxd setf pyrex
" Python, Python Shell Startup and Python Stub Files
" Quixote (Python-based web framework)
-au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl,*.pyi setf python
+au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc setf python
+au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python
" Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance