Patch 8.2.4859
Problem:    wget2 files are not recognized.
Solution:   Add patterns to recognize wget2. (Doug Kearns)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4858/runtime/filetype.vim        2022-05-02 10:29:24.393760348 
+0100
--- runtime/filetype.vim        2022-05-02 23:47:26.681751443 +0100
***************
*** 2126,2131 ****
--- 2126,2134 ----
  " Wget config
  au BufNewFile,BufRead .wgetrc,wgetrc          setf wget
  
+ " Wget2 config
+ au BufNewFile,BufRead .wget2rc,wget2rc                setf wget2
+ 
  " Website MetaLanguage
  au BufNewFile,BufRead *.wml                   setf wml
  
*** ../vim-8.2.4858/src/testdir/test_filetype.vim       2022-05-02 
10:29:24.393760348 +0100
--- src/testdir/test_filetype.vim       2022-05-02 23:47:26.685751439 +0100
***************
*** 592,597 ****
--- 592,598 ----
      \ 'wast': ['file.wast', 'file.wat'],
      \ 'webmacro': ['file.wm'],
      \ 'wget': ['.wgetrc', 'wgetrc'],
+     \ 'wget2': ['.wget2rc', 'wget2rc'],
      \ 'winbatch': ['file.wbt'],
      \ 'wml': ['file.wml'],
      \ 'wsh': ['file.wsf', 'file.wsc'],
*** ../vim-8.2.4858/src/version.c       2022-05-02 22:53:41.384211031 +0100
--- src/version.c       2022-05-02 23:48:31.941696668 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4859,
  /**/

-- 
>From "know your smileys":
 :-F    Bucktoothed vampire with one tooth missing

 /// 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/20220502230501.D27F01C19BB%40moolenaar.net.

Raspunde prin e-mail lui