Patch 9.0.1182

1 view
Skip to first unread message

Bram Moolenaar

unread,
Jan 11, 2023, 4:25:50 PM1/11/23
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages