Skip to content

Commit

Permalink
Don't spell check literal blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
developedby committed Jul 8, 2024
1 parent b5aa674 commit afbd5a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@
"/`...`/g",
"/`....`/g",
"/`.....`/g",
"/```.*\n.*\n```/g"
"/```(.*\n)*```/g"
]
}
3 changes: 1 addition & 2 deletions src/fun/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ pub const BUILTIN_TYPES: &[&str] = &[LIST, STRING, NAT, TREE, MAP, IO];

impl ParseBook {
pub fn builtins() -> Self {
let book = TermParser::new(BUILTINS)
.parse_book(Self::default(), true);
let book = TermParser::new(BUILTINS).parse_book(Self::default(), true);
book.unwrap_or_else(|e| panic!("Error parsing builtin file, this should not happen:\n{e}"))
}
}
Expand Down

0 comments on commit afbd5a0

Please sign in to comment.