mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
vim-patch:9.1.0324: filetype: some json files are not recognized
Problem: filetype: some json files are not recognized
Solution: Detect '.jscsrc' and '.vsconfig' as jsonc filetype
(Wu, Zhenyu)
See:
- https://github.com/microsoft/PowerToys/blob/main/.vsconfig
- https://jscs-dev.github.io/
closes: vim/vim#14452
c59a8648b2
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
@@ -1437,10 +1437,12 @@ local filename = {
|
||||
['.babelrc'] = 'jsonc',
|
||||
['.eslintrc'] = 'jsonc',
|
||||
['.hintrc'] = 'jsonc',
|
||||
['.jscsrc'] = 'jsonc',
|
||||
['.jsfmtrc'] = 'jsonc',
|
||||
['.jshintrc'] = 'jsonc',
|
||||
['.luaurc'] = 'jsonc',
|
||||
['.swrc'] = 'jsonc',
|
||||
['.vsconfig'] = 'jsonc',
|
||||
['.justfile'] = 'just',
|
||||
Kconfig = 'kconfig',
|
||||
['Kconfig.debug'] = 'kconfig',
|
||||
|
||||
Reference in New Issue
Block a user