Skip to content

Commit

Permalink
fix: remove ruby parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored Oct 13, 2023
1 parent 2411ee9 commit d411102
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions crates/llm-ls/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,7 @@ fn get_parser(language_id: LanguageId) -> Result<Parser> {
.map_err(internal_error)?;
Ok(parser)
}
LanguageId::Ruby => {
let mut parser = Parser::new();
parser
.set_language(tree_sitter_ruby::language())
.map_err(internal_error)?;
Ok(parser)
}
LanguageId::Ruby => Ok(Parser::new())
LanguageId::Rust => {
let mut parser = Parser::new();
parser
Expand Down

0 comments on commit d411102

Please sign in to comment.