mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:9.1.0902: filetype: Conda configuration files are not recognized (#31445)
Problem: filetype: Conda configuration files are not recognized
Solution: detect '.condarc' and 'condarc' files as yaml filetype.
(zeertzjq)
closes: vim/vim#16162
876de275cb
This commit is contained in:
parent
ae93c7f369
commit
b079a9d2e7
@ -1873,6 +1873,8 @@ local filename = {
|
||||
['.clang-tidy'] = 'yaml',
|
||||
['yarn.lock'] = 'yaml',
|
||||
matplotlibrc = 'yaml',
|
||||
['.condarc'] = 'yaml',
|
||||
condarc = 'yaml',
|
||||
zathurarc = 'zathurarc',
|
||||
['/etc/zprofile'] = 'zsh',
|
||||
['.zlogin'] = 'zsh',
|
||||
|
@ -886,7 +886,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'xslt': ['file.xsl', 'file.xslt'],
|
||||
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
|
||||
\ 'yaml': ['file.yaml', 'file.yml', 'file.eyaml', 'any/.bundle/config', '.clangd', '.clang-format', '.clang-tidy', 'file.mplstyle', 'matplotlibrc', 'yarn.lock',
|
||||
\ '/home/user/.kube/config'],
|
||||
\ '/home/user/.kube/config', '.condarc', 'condarc'],
|
||||
\ 'yang': ['file.yang'],
|
||||
\ 'yuck': ['file.yuck'],
|
||||
\ 'z8a': ['file.z8a'],
|
||||
|
Loading…
Reference in New Issue
Block a user