Patch 9.0.1182
Problem:    go checksum files are not recognized.
Solution:   Add the name of go checksum files. (Amaan Qureshi, closes #11803)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1181/runtime/filetype.vim        2023-01-11 12:20:01.782758340 
+0000
--- runtime/filetype.vim        2023-01-11 21:20:28.148006809 +0000
***************
*** 849,854 ****
--- 849,857 ----
  " HCL
  au BufRead,BufNewFile *.hcl                   setf hcl
  
+ " Go checksum file (must be before *.sum Hercules)
+ au BufNewFile,BufRead go.sum                  setf gosum
+ 
  " Hercules
  au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum        setf hercules
  
*** ../vim-9.0.1181/src/testdir/test_filetype.vim       2023-01-11 
12:20:01.782758340 +0000
--- src/testdir/test_filetype.vim       2023-01-11 21:21:14.171994580 +0000
***************
*** 230,235 ****
--- 230,236 ----
      \ 'gnuplot': ['file.gpi', '.gnuplot'],
      \ 'go': ['file.go'],
      \ 'gomod': ['go.mod'],
+     \ 'gosum': ['go.sum'],
      \ 'gowork': ['go.work'],
      \ 'gp': ['file.gp', '.gprc'],
      \ 'gpg': ['/.gnupg/options', '/.gnupg/gpg.conf', 
'/usr/any/gnupg/options.skel', 'any/.gnupg/gpg.conf', 'any/.gnupg/options', 
'any/usr/any/gnupg/options.skel'],
*** ../vim-9.0.1181/src/version.c       2023-01-11 21:14:11.832106048 +0000
--- src/version.c       2023-01-11 21:23:01.043966159 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1182,
  /**/

-- 
EXPERIENCE - experience is a wonderful thing. It enables you to 
recognise a mistake when you make it again.

 /// 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/20230111212545.0FED41C07A0%40moolenaar.net.

Raspunde prin e-mail lui