mirror of
https://github.com/neovim/neovim.git
synced 2026-01-07 05:43:14 +00: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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user