1
0
forked from aniani/vim

patch 9.1.0196: filetype: support for gnuplot files is lacking

Problem:  filetype: support for gnuplot files is lacking
Solution: Also detect *.gnuplot files
          (RobbiZ98)

closes: #14243

Signed-off-by: RobbiZ98 <113035863+RobbiZ98@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
RobbiZ98
2024-03-21 20:24:51 +01:00
committed by Christian Brabandt
parent 85a769d466
commit 3a6bd0c5c7
3 changed files with 4 additions and 2 deletions

View File

@@ -862,7 +862,7 @@ au BufNewFile,BufRead *.gts setf typescript.glimmer
au BufNewFile,BufRead *.gjs setf javascript.glimmer au BufNewFile,BufRead *.gjs setf javascript.glimmer
" Gnuplot scripts " Gnuplot scripts
au BufNewFile,BufRead *.gpi,.gnuplot setf gnuplot au BufNewFile,BufRead *.gpi,*.gnuplot setf gnuplot
" Go (Google) " Go (Google)
au BufNewFile,BufRead *.go setf go au BufNewFile,BufRead *.go setf go

View File

@@ -283,7 +283,7 @@ def s:GetFilenameChecks(): dict<list<string>>
glsl: ['file.glsl'], glsl: ['file.glsl'],
gn: ['file.gn', 'file.gni'], gn: ['file.gn', 'file.gni'],
gnash: ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'], gnash: ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
gnuplot: ['file.gpi', '.gnuplot'], gnuplot: ['file.gpi', '.gnuplot', 'file.gnuplot'],
go: ['file.go'], go: ['file.go'],
gomod: ['go.mod'], gomod: ['go.mod'],
gosum: ['go.sum', 'go.work.sum'], gosum: ['go.sum', 'go.work.sum'],

View File

@@ -704,6 +704,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 */
/**/
196,
/**/ /**/
195, 195,
/**/ /**/