Mercurial > vim
comparison runtime/filetype.vim @ 34915:ef1d8d1eb838 v9.1.0317
patch 9.1.0317: filetype: matplotlibrc files are not recognized
Commit: https://github.com/vim/vim/commit/55d4f3c006689945599589a90036923b1752754f
Author: Wu, Zhenyu <wuzhenyu@ustc.edu>
Date: Sat Apr 13 18:25:38 2024 +0200
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: #14501
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 13 Apr 2024 18:30:06 +0200 |
parents | e1670b4b1466 |
children | e2d3b44c5d4c |
comparison
equal
deleted
inserted
replaced
34914:4f97b92f4451 | 34915:ef1d8d1eb838 |
---|---|
423 au BufNewFile,BufRead .clang-format setf yaml | 423 au BufNewFile,BufRead .clang-format setf yaml |
424 | 424 |
425 " Clang-tidy | 425 " Clang-tidy |
426 au BufNewFile,BufRead .clang-tidy setf yaml | 426 au BufNewFile,BufRead .clang-tidy setf yaml |
427 | 427 |
428 " Matplotlib style | 428 " Matplotlib |
429 au BufNewFile,BufRead *.mplstyle setf yaml | 429 au BufNewFile,BufRead *.mplstyle,matplotlibrc setf yaml |
430 | 430 |
431 " Clean | 431 " Clean |
432 au BufNewFile,BufRead *.dcl,*.icl setf clean | 432 au BufNewFile,BufRead *.dcl,*.icl setf clean |
433 | 433 |
434 " Clever | 434 " Clever |