diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-13 18:25:38 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-13 18:25:38 +0200 |
commit | 55d4f3c006689945599589a90036923b1752754f (patch) | |
tree | 9fd6fddfdf5ab6681ca01652ba5cece1564242b2 /runtime/filetype.vim | |
parent | ce06493aeb3d198d13de289ac39d1ed0f1604429 (diff) |
patch 9.1.0317: filetype: matplotlibrc files are not recognizedv9.1.0317
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: #14501
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 79a9b481fd..96ecb1aaae 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -425,8 +425,8 @@ au BufNewFile,BufRead .clang-format setf yaml " Clang-tidy au BufNewFile,BufRead .clang-tidy setf yaml -" Matplotlib style -au BufNewFile,BufRead *.mplstyle setf yaml +" Matplotlib +au BufNewFile,BufRead *.mplstyle,matplotlibrc setf yaml " Clean au BufNewFile,BufRead *.dcl,*.icl setf clean |