fix: 修正 Tree-sitter C# 解析器的语言标识符命名以消除加载警告

This commit is contained in:
vinland100 2025-12-25 15:31:27 +08:00
parent d10f023a7e
commit 05b3842536
1 changed files with 2 additions and 2 deletions

View File

@ -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",
}