()
| 8 | ) |
| 9 | |
| 10 | func Rust() *Language { |
| 11 | return &Language{ |
| 12 | Delims: regexp.MustCompile(`/{2,3}!?`), |
| 13 | Parser: rust.GetLanguage(), |
| 14 | Queries: []core.Scope{{Name: "", Expr: `(line_comment)+ @comment`, Type: ""}}, |
| 15 | Padding: func(s string) int { |
| 16 | return computePadding(s, []string{"//", "//!", "///"}) |
| 17 | }, |
| 18 | } |
| 19 | } |
no test coverage detected
searching dependent graphs…