mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0239: filetype: gnuplot history files are not recognised
Problem: filetype: gnuplot history files are not recognised Solution: detect .gnuplot_history files as gnuplot (Wu, Zhenyu) closes: #14360 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
75c607dff7
commit
8e47eb31cc
@ -865,7 +865,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,.gnuplot_history setf gnuplot
|
||||||
|
|
||||||
" Go (Google)
|
" Go (Google)
|
||||||
au BufNewFile,BufRead *.go setf go
|
au BufNewFile,BufRead *.go setf go
|
||||||
|
@ -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', 'file.gnuplot'],
|
gnuplot: ['file.gpi', '.gnuplot', 'file.gnuplot', '.gnuplot_history'],
|
||||||
go: ['file.go'],
|
go: ['file.go'],
|
||||||
gomod: ['go.mod'],
|
gomod: ['go.mod'],
|
||||||
gosum: ['go.sum', 'go.work.sum'],
|
gosum: ['go.sum', 'go.work.sum'],
|
||||||
|
@ -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 */
|
||||||
|
/**/
|
||||||
|
239,
|
||||||
/**/
|
/**/
|
||||||
238,
|
238,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user