Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
irevoire committed Aug 14, 2024
1 parent d09db06 commit 8144ce8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions numbat-lsp/src/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ pub fn get_completion_of(
// Expr::List(exprs) => exprs
// .iter()
// .for_each(|expr| get_definition(expr, definition_ass_list)),
Expr::Local(local) => {
!(ident_offset >= local.1.start && ident_offset < local.1.end)
}
Expr::Local(local) => !(ident_offset >= local.1.start && ident_offset < local.1.end),
Expr::Let(name, lhs, rest, _name_span) => {
definition_map.insert(
name.clone(),
Expand Down
1 change: 0 additions & 1 deletion numbat-lsp/src/reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::collections::HashMap;
use chumsky::Span;
use im_rc::Vector;


use crate::chumsky::{Expr, Func, Spanned};
#[derive(Debug, Clone)]
pub enum ReferenceSymbol {
Expand Down

0 comments on commit 8144ce8

Please sign in to comment.