feat: daml support (#2347)

This commit is contained in:
Batyr Asadullin 2025-12-17 00:20:12 +08:00 committed by GitHub
parent 531bd25fc5
commit 5fc3171a1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -31,6 +31,7 @@ impl CommentParser {
"dart" => harper_tree_sitter_dart::LANGUAGE,
"go" => tree_sitter_go::LANGUAGE,
"haskell" => tree_sitter_haskell::LANGUAGE,
"daml" => tree_sitter_haskell::LANGUAGE,
"java" => tree_sitter_java::LANGUAGE,
"javascript" => tree_sitter_javascript::LANGUAGE,
"javascriptreact" => tree_sitter_typescript::LANGUAGE_TSX,
@ -89,6 +90,7 @@ impl CommentParser {
"dart" => "dart",
"go" => "go",
"hs" => "haskell",
"daml" => "daml",
"java" => "java",
"js" => "javascript",
"jsx" => "javascriptreact",

View file

@ -274,6 +274,7 @@ These configs are under the `markdown` key:
| CMake | `cmake` | ✅ |
| C++ | `cpp` | ✅ |
| C# | `csharp` | ✅ |
| DAML | `daml` | ✅ |
| Dart | `dart` | ✅ |
| Git Commit | `git-commit`/`gitcommit` | |
| Go | `go` | ✅ |