summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorWu, Zhenyu <wuzhenyu@ustc.edu>2024-03-31 19:05:44 +0200
committerChristian Brabandt <cb@256bit.org>2024-03-31 19:05:44 +0200
commit0fd560d46a1b83edba032300ab1f6119d4dca7b5 (patch)
treee69147e5f739b2c5ce947c9ec6902107181c507f /runtime/filetype.vim
parenta75f4791b147db60a1d2744bb5ab7326e0c0edc0 (diff)
patch 9.1.0237: filetype: mplstyle files are not recognizedv9.1.0237
Problem: filetype: mplstyle files are not recognized Solution: Detect '*.mplstyle' files as yaml (Wu, Zhenyu) closes: #14358 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.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 7c4d109ffb..cbd677ceff 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -409,6 +409,9 @@ au BufNewFile,BufRead .clang-format setf yaml
" Clang-tidy
au BufNewFile,BufRead .clang-tidy setf yaml
+" Matplotlib style
+au BufNewFile,BufRead *.mplstyle setf yaml
+
" Clean
au BufNewFile,BufRead *.dcl,*.icl setf clean