patch 8.2.4187: gnuplot file not recognized

Problem:    Gnuplot file not recognized.
Solution:   Recognize ".gnuplot". (closes #9588)
This commit is contained in:
nobodyatandnothing
2022-01-23 11:19:37 +00:00
committed by Bram Moolenaar
parent 36c2add7f8
commit ff5cbe8133
3 changed files with 4 additions and 2 deletions

View File

@ -714,7 +714,7 @@ au BufNewFile,BufRead gitolite.conf setf gitolite
au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl
" Gnuplot scripts
au BufNewFile,BufRead *.gpi setf gnuplot
au BufNewFile,BufRead *.gpi,.gnuplot setf gnuplot
" Go (Google)
au BufNewFile,BufRead *.go setf go

View File

@ -203,7 +203,7 @@ let s:filename_checks = {
\ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'],
\ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'],
\ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
\ 'gnuplot': ['file.gpi'],
\ 'gnuplot': ['file.gpi', '.gnuplot'],
\ 'go': ['file.go'],
\ 'gomod': ['go.mod'],
\ 'gp': ['file.gp', '.gprc'],

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4187,
/**/
4186,
/**/