@@ -9,6 +9,7 @@ pub enum Language {
9
9
Elm ,
10
10
Haskell ,
11
11
JavaScript ,
12
+ Markdown ,
12
13
Php ,
13
14
Ruby ,
14
15
Rust ,
@@ -23,6 +24,7 @@ impl Language {
23
24
Language :: Elm ,
24
25
Language :: Haskell ,
25
26
Language :: JavaScript ,
27
+ Language :: Markdown ,
26
28
Language :: Php ,
27
29
Language :: Ruby ,
28
30
Language :: Rust ,
@@ -38,6 +40,7 @@ impl Language {
38
40
Language :: Elm => tree_sitter_elm ( ) ,
39
41
Language :: Haskell => tree_sitter_haskell ( ) ,
40
42
Language :: JavaScript => tree_sitter_javascript ( ) ,
43
+ Language :: Markdown => tree_sitter_markdown ( ) ,
41
44
Language :: Php => tree_sitter_php ( ) ,
42
45
Language :: Ruby => tree_sitter_ruby ( ) ,
43
46
Language :: Rust => tree_sitter_rust ( ) ,
@@ -57,6 +60,7 @@ impl Language {
57
60
Language :: Elm => "elm" ,
58
61
Language :: Haskell => "haskell" ,
59
62
Language :: JavaScript => "js" ,
63
+ Language :: Markdown => "markdown" ,
60
64
Language :: Php => "php" ,
61
65
Language :: Ruby => "ruby" ,
62
66
Language :: Rust => "rust" ,
@@ -75,6 +79,7 @@ impl FromStr for Language {
75
79
"elm" => Ok ( Language :: Elm ) ,
76
80
"haskell" => Ok ( Language :: Haskell ) ,
77
81
"javascript" => Ok ( Language :: JavaScript ) ,
82
+ "markdown" => Ok ( Language :: Markdown ) ,
78
83
"php" => Ok ( Language :: Php ) ,
79
84
"ruby" => Ok ( Language :: Ruby ) ,
80
85
"rust" => Ok ( Language :: Rust ) ,
@@ -100,6 +105,7 @@ impl Display for Language {
100
105
Language :: Elm => f. write_str ( "elm" ) ,
101
106
Language :: Haskell => f. write_str ( "haskell" ) ,
102
107
Language :: JavaScript => f. write_str ( "javascript" ) ,
108
+ Language :: Markdown => f. write_str ( "markdown" ) ,
103
109
Language :: Php => f. write_str ( "php" ) ,
104
110
Language :: Ruby => f. write_str ( "ruby" ) ,
105
111
Language :: Rust => f. write_str ( "rust" ) ,
@@ -148,6 +154,7 @@ extern "C" {
148
154
fn tree_sitter_elm ( ) -> tree_sitter:: Language ;
149
155
fn tree_sitter_haskell ( ) -> tree_sitter:: Language ;
150
156
fn tree_sitter_javascript ( ) -> tree_sitter:: Language ;
157
+ fn tree_sitter_markdown ( ) -> tree_sitter:: Language ;
151
158
fn tree_sitter_php ( ) -> tree_sitter:: Language ;
152
159
fn tree_sitter_ruby ( ) -> tree_sitter:: Language ;
153
160
fn tree_sitter_rust ( ) -> tree_sitter:: Language ;
0 commit comments