aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-03-31 19:12:30 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-04-01 12:01:47 +0200
commitacac56360fd0bc94a00b5fc34ae55ebb7158eb98 (patch)
treec59bafc191bb8109c068c565171e6719401f4d4e /runtime/lua
parentce69056e956ba0957714ef649062828743545c6c (diff)
downloadrneovim-acac56360fd0bc94a00b5fc34ae55ebb7158eb98.tar.gz
rneovim-acac56360fd0bc94a00b5fc34ae55ebb7158eb98.tar.bz2
rneovim-acac56360fd0bc94a00b5fc34ae55ebb7158eb98.zip
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 https://github.com/vim/vim/commit/8e47eb31cc8b29a223f1706730b8f4a5598d59ce Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 7ab01402cc..5b5c9e0af5 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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',