mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 09:14:24 +00:00
vim-patch:9.1.1026: filetype: swc configuration files are not recognized
Problem: filetype: swc configuration files are not recognized
Solution: detect .swcrc files as json filetype (Marces Engel)
References:
https://swc.rs/docs/configuration/swcrc
closes: vim/vim#16462
3a738fccaa
Co-authored-by: Marces Engel <marces@facemurphy.com>
This commit is contained in:
committed by
Christian Clason
parent
97d5855351
commit
3530182ba4
@@ -1636,6 +1636,7 @@ local filename = {
|
||||
['.lintstagedrc'] = 'json',
|
||||
['deno.lock'] = 'json',
|
||||
['flake.lock'] = 'json',
|
||||
['.swcrc'] = 'json',
|
||||
['.babelrc'] = 'jsonc',
|
||||
['.eslintrc'] = 'jsonc',
|
||||
['.hintrc'] = 'jsonc',
|
||||
|
||||
Reference in New Issue
Block a user