Patch 8.2.0983

7 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 15, 2020, 2:26:31 PM6/15/20
to vim...@googlegroups.com

Patch 8.2.0983
Problem: SConstruct file type not recognized.
Solution: Use python for SConstruct files. (Roland Hieber)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.0982/runtime/filetype.vim 2020-06-14 20:04:28.432529296 +0200
--- runtime/filetype.vim 2020-06-15 20:22:46.895302214 +0200
***************
*** 1296,1302 ****

" Python, Python Shell Startup and Python Stub Files
" Quixote (Python-based web framework)
! au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl,*.pyi setf python

" Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance
--- 1296,1303 ----

" Python, Python Shell Startup and Python Stub Files
" Quixote (Python-based web framework)
! 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
*** ../vim-8.2.0982/src/testdir/test_filetype.vim 2020-06-14 20:04:28.432529296 +0200
--- src/testdir/test_filetype.vim 2020-06-15 20:23:02.427244667 +0200
***************
*** 361,367 ****
\ 'protocols': ['/etc/protocols'],
\ 'psf': ['file.psf'],
\ 'pyrex': ['file.pyx', 'file.pxd'],
! \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi'],
\ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg'],
\ 'radiance': ['file.rad', 'file.mat'],
\ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'],
--- 361,367 ----
\ 'protocols': ['/etc/protocols'],
\ 'psf': ['file.psf'],
\ 'pyrex': ['file.pyx', 'file.pxd'],
! \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
\ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg'],
\ 'radiance': ['file.rad', 'file.mat'],
\ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'],
*** ../vim-8.2.0982/src/version.c 2020-06-15 19:51:52.637404472 +0200
--- src/version.c 2020-06-15 20:24:21.862950037 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 983,
/**/

--
Windows
M!uqoms

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages