mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.4187: gnuplot file not recognized (#17177)
Problem: Gnuplot file not recognized.
Solution: Recognize ".gnuplot". (closes vim/vim#9588)
ff5cbe8133
This commit is contained in:
parent
7717f38d3f
commit
3d62dd2077
@ -710,7 +710,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
|
||||
|
@ -230,6 +230,7 @@ local extension = {
|
||||
gemini = "gemtext",
|
||||
gift = "gift",
|
||||
gpi = "gnuplot",
|
||||
gnuplot = "gnuplot",
|
||||
go = "go",
|
||||
gp = "gp",
|
||||
gs = "grads",
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user