mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1182: go checksum files are not recognized (#21758)
Problem: go checksum files are not recognized.
Solution: Add the name of go checksum files. (Amaan Qureshi, closes vim/vim#11803)
043d7b2c84
Co-authored-by: Amaan Q <amaanq12@gmail.com>
This commit is contained in:
parent
143d3f1f32
commit
2aabe9b858
@ -1425,6 +1425,7 @@ local filename = {
|
||||
gnashpluginrc = 'gnash',
|
||||
gnashrc = 'gnash',
|
||||
['.gnuplot'] = 'gnuplot',
|
||||
['go.sum'] = 'gosum',
|
||||
['go.work'] = 'gowork',
|
||||
['.gprc'] = 'gp',
|
||||
['/.gnupg/gpg.conf'] = 'gpg',
|
||||
|
@ -232,6 +232,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
Loading…
Reference in New Issue
Block a user