Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gurjeet committed Sep 20, 2022
1 parent 83693a5 commit 9cc4994
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/parse/tree_sitter_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extern "C" {
fn tree_sitter_kotlin() -> ts::Language;
fn tree_sitter_lua() -> ts::Language;
fn tree_sitter_make() -> ts::Language;
fn tree_sitter_markdown() -> ts::Language;
fn tree_sitter_markdown_inline() -> ts::Language;
fn tree_sitter_nix() -> ts::Language;
fn tree_sitter_ocaml() -> ts::Language;
fn tree_sitter_ocaml_interface() -> ts::Language;
Expand Down Expand Up @@ -537,7 +537,7 @@ pub fn from_language(language: guess::Language) -> TreeSitterConfig {
}
}
Markdown => {
let language = unsafe { tree_sitter_markdown() };
let language = unsafe { tree_sitter_markdown_inline() };
TreeSitterConfig {
language,
atom_nodes: vec![].into_iter().collect(),
Expand Down
2 changes: 1 addition & 1 deletion vendor/highlights/markdown.scm
2 changes: 1 addition & 1 deletion vendor/tree-sitter-markdown-src

0 comments on commit 9cc4994

Please sign in to comment.