fix: 修正 Tree-sitter C# 解析器的语言标识符命名以消除加载警告
This commit is contained in:
parent
d10f023a7e
commit
05b3842536
|
|
@ -154,7 +154,7 @@ class TreeSitterParser:
|
|||
".c": "c",
|
||||
".h": "c",
|
||||
".hpp": "cpp",
|
||||
".cs": "c_sharp",
|
||||
".cs": "csharp",
|
||||
".php": "php",
|
||||
".rb": "ruby",
|
||||
".kt": "kotlin",
|
||||
|
|
@ -197,7 +197,7 @@ class TreeSitterParser:
|
|||
# tree-sitter-languages 支持的语言列表
|
||||
SUPPORTED_LANGUAGES = {
|
||||
"python", "javascript", "typescript", "tsx", "java", "go", "rust",
|
||||
"c", "cpp", "c_sharp", "php", "ruby", "kotlin", "swift", "bash",
|
||||
"c", "cpp", "csharp", "php", "ruby", "kotlin", "swift", "bash",
|
||||
"json", "yaml", "html", "css", "sql", "markdown",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue