mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
vim-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: vim/vim#14360
8e47eb31cc
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
ce69056e95
commit
acac56360f
@ -1321,6 +1321,7 @@ local filename = {
|
||||
['.gnashpluginrc'] = 'gnash',
|
||||
gnashpluginrc = 'gnash',
|
||||
gnashrc = 'gnash',
|
||||
['.gnuplot_history'] = 'gnuplot',
|
||||
['go.sum'] = 'gosum',
|
||||
['go.work.sum'] = 'gosum',
|
||||
['go.work'] = 'gowork',
|
||||
|
@ -273,7 +273,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'glsl': ['file.glsl'],
|
||||
\ 'gn': ['file.gn', 'file.gni'],
|
||||
\ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
|
||||
\ 'gnuplot': ['file.gpi', '.gnuplot', 'file.gnuplot'],
|
||||
\ 'gnuplot': ['file.gpi', '.gnuplot', 'file.gnuplot', '.gnuplot_history'],
|
||||
\ 'go': ['file.go'],
|
||||
\ 'gomod': ['go.mod'],
|
||||
\ 'gosum': ['go.sum', 'go.work.sum'],
|
||||
|
Loading…
Reference in New Issue
Block a user