Patch 9.0.1278
Problem: go.work.sum files are not recognized.
Solution: Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi,
closes #11940)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1277/runtime/filetype.vim 2023-02-02 13:30:09.707079350
+0000
--- runtime/filetype.vim 2023-02-04 12:10:42.594342609 +0000
***************
*** 862,868 ****
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
--- 862,868 ----
au BufRead,BufNewFile *.hcl setf hcl
" Go checksum file (must be before *.sum Hercules)
! au BufNewFile,BufRead go.sum,go.work.sum setf gosum
" Hercules
au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules
*** ../vim-9.0.1277/src/testdir/test_filetype.vim 2023-02-02
13:30:09.711079343 +0000
--- src/testdir/test_filetype.vim 2023-02-04 12:08:36.826422430 +0000
***************
*** 233,239 ****
\ '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'],
--- 233,239 ----
\ 'gnuplot': ['file.gpi', '.gnuplot'],
\ 'go': ['file.go'],
\ 'gomod': ['go.mod'],
! \ 'gosum': ['go.sum', 'go.work.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.1277/src/version.c 2023-02-04 10:58:28.815703377 +0000
--- src/version.c 2023-02-04 12:10:18.670357874 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1278,
/**/
--
>From "know your smileys":
8<}} Glasses, big nose, beard
/// 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/20230204121313.21D7E1C0ABE%40moolenaar.net.