mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.1.0237: filetype: mplstyle files are not recognized
Problem: filetype: mplstyle files are not recognized
Solution: Detect '*.mplstyle' files as yaml (Wu, Zhenyu)
closes: vim/vim#14358
0fd560d46a
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
2e0233d003
commit
f29ba3c46c
@ -1141,6 +1141,7 @@ local extension = {
|
||||
yml = 'yaml',
|
||||
yaml = 'yaml',
|
||||
eyaml = 'yaml',
|
||||
mplstyle = 'yaml',
|
||||
yang = 'yang',
|
||||
yuck = 'yuck',
|
||||
z8a = 'z8a',
|
||||
|
@ -742,7 +742,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'xsd': ['file.xsd'],
|
||||
\ 'xslt': ['file.xsl', 'file.xslt'],
|
||||
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
|
||||
\ 'yaml': ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy'],
|
||||
\ 'yaml': ['file.yaml', 'file.yml', 'file.eyaml', '.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle'],
|
||||
\ 'yang': ['file.yang'],
|
||||
\ 'yuck': ['file.yuck'],
|
||||
\ 'z8a': ['file.z8a'],
|
||||
|
Loading…
Reference in New Issue
Block a user