Patch 8.2.4715
Problem:    Vagrantfile not recognized.
Solution:   Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4714/runtime/filetype.vim        2022-04-07 16:01:10.482052542 
+0100
--- runtime/filetype.vim        2022-04-08 19:55:01.288221014 +0100
***************
*** 2050,2055 ****
--- 2050,2058 ----
  " Vera
  au BufNewFile,BufRead *.vr,*.vri,*.vrh                setf vera
  
+ " Vagrant (uses Ruby syntax)
+ au BufNewFile,BufRead Vagrantfile             setf ruby
+ 
  " Verilog HDL
  au BufNewFile,BufRead *.v                     setf verilog
  
*** ../vim-8.2.4714/src/testdir/test_filetype.vim       2022-04-08 
17:26:22.257634069 +0100
--- src/testdir/test_filetype.vim       2022-04-08 19:46:10.273024765 +0100
***************
*** 456,462 ****
      \ 'rpl': ['file.rpl'],
      \ 'rst': ['file.rst'],
      \ 'rtf': ['file.rtf'],
!     \ 'ruby': ['.irbrc', 'irbrc', 'file.rb', 'file.rbw', 'file.gemspec', 
'file.ru', 'Gemfile', 'file.builder', 'file.rxml', 'file.rjs', 'file.rant', 
'file.rake', 'rakefile', 'Rakefile', 'rantfile', 'Rantfile', 'rakefile-file', 
'Rakefile-file', 'Puppetfile'],
      \ 'rust': ['file.rs'],
      \ 'samba': ['smb.conf'],
      \ 'sas': ['file.sas'],
--- 456,462 ----
      \ 'rpl': ['file.rpl'],
      \ 'rst': ['file.rst'],
      \ 'rtf': ['file.rtf'],
!     \ 'ruby': ['.irbrc', 'irbrc', 'file.rb', 'file.rbw', 'file.gemspec', 
'file.ru', 'Gemfile', 'file.builder', 'file.rxml', 'file.rjs', 'file.rant', 
'file.rake', 'rakefile', 'Rakefile', 'rantfile', 'Rantfile', 'rakefile-file', 
'Rakefile-file', 'Puppetfile', 'Vagrantfile'],
      \ 'rust': ['file.rs'],
      \ 'samba': ['smb.conf'],
      \ 'sas': ['file.sas'],
*** ../vim-8.2.4714/src/version.c       2022-04-08 17:26:22.257634069 +0100
--- src/version.c       2022-04-08 19:53:09.540388363 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4715,
  /**/

-- 
The most powerful force in the universe is gossip.

 /// 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/20220408185610.C89511C04C0%40moolenaar.net.

Raspunde prin e-mail lui