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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202108251513.17PFDTUQ2235672%40masaka.moolenaar.net.

Raspunde prin e-mail lui