From 391200f19810512b09cf3e66f78f755f3825044f Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 13 Apr 2024 18:47:51 +0200 Subject: vim-patch:9.1.0317: filetype: matplotlibrc files are not recognized Problem: filetype: matplotlibrc files are not recognized Solution: Detect 'matplotlibrc' file as yaml filetype (Wu, Zhenyu) See: https://matplotlib.org/stable/users/explain/customizing.html#the-matplotlibrc-file closes: vim/vim#14501 https://github.com/vim/vim/commit/55d4f3c006689945599589a90036923b1752754f Co-authored-by: Wu, Zhenyu --- runtime/lua/vim/filetype.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 76250626da..0e06cf69e6 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1660,6 +1660,7 @@ local filename = { ['.clang-format'] = 'yaml', ['.clang-tidy'] = 'yaml', ['yarn.lock'] = 'yaml', + matplotlibrc = 'yaml', zathurarc = 'zathurarc', ['/etc/zprofile'] = 'zsh', ['.zlogin'] = 'zsh', -- cgit