mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
vim-patch:9.0.1268: .clangd and .stylelintrc files don't get a filetype (#22079)
Problem: .clangd and .stylelintrc files don't get a filetype.
Solution: Use yaml for .clangd and json for .stylelintrc files. (Mark
Skelton, closes vim/vim#11916)
9c51798a1f
Co-authored-by: Mark Skelton <mdskelton99@gmail.com>
This commit is contained in:
@@ -1464,6 +1464,7 @@ local filename = {
|
||||
['Pipfile.lock'] = 'json',
|
||||
['.firebaserc'] = 'json',
|
||||
['.prettierrc'] = 'json',
|
||||
['.stylelintrc'] = 'json',
|
||||
['.babelrc'] = 'jsonc',
|
||||
['.eslintrc'] = 'jsonc',
|
||||
['.hintrc'] = 'jsonc',
|
||||
@@ -1699,6 +1700,7 @@ local filename = {
|
||||
fglrxrc = 'xml',
|
||||
['/etc/blkid.tab'] = 'xml',
|
||||
['/etc/blkid.tab.old'] = 'xml',
|
||||
['.clangd'] = 'yaml',
|
||||
['.clang-format'] = 'yaml',
|
||||
['.clang-tidy'] = 'yaml',
|
||||
['/etc/zprofile'] = 'zsh',
|
||||
|
||||
Reference in New Issue
Block a user