diff runtime/filetype.vim @ 27317:839be955609f v8.2.4187

patch 8.2.4187: gnuplot file not recognized Commit: https://github.com/vim/vim/commit/ff5cbe8133c6eb5dd86b9e042f32f589627e9bf9 Author: nobodyatandnothing <you@example.com> Date: Sun Jan 23 11:19:37 2022 +0000 patch 8.2.4187: gnuplot file not recognized Problem: Gnuplot file not recognized. Solution: Recognize ".gnuplot". (closes https://github.com/vim/vim/issues/9588)
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Jan 2022 12:30:04 +0100
parents 9f72ec92d361
children c6533967ca9f
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -714,7 +714,7 @@ au BufNewFile,BufRead gitolite.conf		set
 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