mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 9.0.1278: go.work.sum files are not recognized
Problem: go.work.sum files are not recognized. Solution: Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi, closes #11940)
This commit is contained in:
parent
49f0524fb5
commit
4ad8ae8465
@ -862,7 +862,7 @@ au BufNewFile,BufRead *.htpp setf hastepreproc
|
|||||||
au BufRead,BufNewFile *.hcl setf hcl
|
au BufRead,BufNewFile *.hcl setf hcl
|
||||||
|
|
||||||
" Go checksum file (must be before *.sum Hercules)
|
" Go checksum file (must be before *.sum Hercules)
|
||||||
au BufNewFile,BufRead go.sum setf gosum
|
au BufNewFile,BufRead go.sum,go.work.sum setf gosum
|
||||||
|
|
||||||
" Hercules
|
" Hercules
|
||||||
au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules
|
au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules
|
||||||
|
@ -233,7 +233,7 @@ let s:filename_checks = {
|
|||||||
\ 'gnuplot': ['file.gpi', '.gnuplot'],
|
\ 'gnuplot': ['file.gpi', '.gnuplot'],
|
||||||
\ 'go': ['file.go'],
|
\ 'go': ['file.go'],
|
||||||
\ 'gomod': ['go.mod'],
|
\ 'gomod': ['go.mod'],
|
||||||
\ 'gosum': ['go.sum'],
|
\ 'gosum': ['go.sum', 'go.work.sum'],
|
||||||
\ 'gowork': ['go.work'],
|
\ 'gowork': ['go.work'],
|
||||||
\ 'gp': ['file.gp', '.gprc'],
|
\ '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'],
|
\ 'gpg': ['/.gnupg/options', '/.gnupg/gpg.conf', '/usr/any/gnupg/options.skel', 'any/.gnupg/gpg.conf', 'any/.gnupg/options', 'any/usr/any/gnupg/options.skel'],
|
||||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1278,
|
||||||
/**/
|
/**/
|
||||||
1277,
|
1277,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user