From: nobodyatandnothing Date: Sun, 23 Jan 2022 11:19:37 +0000 (+0000) Subject: patch 8.2.4187: gnuplot file not recognized X-Git-Tag: v8.2.4187 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff5cbe8133c6eb5dd86b9e042f32f589627e9bf9;p=vim patch 8.2.4187: gnuplot file not recognized Problem: Gnuplot file not recognized. Solution: Recognize ".gnuplot". (closes #9588) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index acb87ff93..15fd7f4ab 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index ff2af5fb3..fb1aa6349 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -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'], diff --git a/src/version.c b/src/version.c index 8e659e028..1d5160f5e 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4187, /**/ 4186, /**/