Patch 8.2.3374

3 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 25, 2021, 11:13:36 AM8/25/21
to vim...@googlegroups.com

Patch 8.2.3374
Problem: Pyret files are not recognized.
Solution: Recognize .arr files as Pyret. (Doug Kearns)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.3373/runtime/filetype.vim 2021-08-23 20:48:36.443191343 +0200
--- runtime/filetype.vim 2021-08-25 17:09:11.660077844 +0200
***************
*** 1383,1388 ****
--- 1383,1391 ----
" Protocols
au BufNewFile,BufRead */etc/protocols setf protocols

+ " Pyret
+ au BufNewFile,BufRead *.arr setf pyret
+
" Pyrex
au BufNewFile,BufRead *.pyx,*.pxd setf pyrex

*** ../vim-8.2.3373/src/testdir/test_filetype.vim 2021-08-23 20:48:36.443191343 +0200
--- src/testdir/test_filetype.vim 2021-08-25 17:09:11.660077844 +0200
***************
*** 397,402 ****
--- 397,403 ----
\ 'psf': ['file.psf'],
\ 'psl': ['file.psl'],
\ 'puppet': ['file.pp'],
+ \ 'pyret': ['file.arr'],
\ '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', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'],
*** ../vim-8.2.3373/src/version.c 2021-08-25 17:01:57.132832684 +0200
--- src/version.c 2021-08-25 17:10:12.719964020 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3374,
/**/

--
The problem with political jokes is that they get elected.

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