From 302b1cb4b9632b63257303d47e760d5ea9532185 Mon Sep 17 00:00:00 2001 From: Elijah Potter Date: Fri, 26 Jan 2024 19:01:00 -0700 Subject: [PATCH] Release 0.4.0 harper-core@0.4.0 harper-ls@0.4.0 Generated by cargo-workspaces --- Cargo.lock | 4 ++-- harper-core/Cargo.toml | 2 +- harper-core/dictionary.dict | 1 + harper-core/src/parsers/markdown.rs | 5 +---- harper-ls/Cargo.toml | 4 ++-- harper-ls/src/tree_sitter_parser.rs | 1 + 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd10f1e9..26df0863 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -421,7 +421,7 @@ checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "harper-core" -version = "0.3.0" +version = "0.4.0" dependencies = [ "hashbrown", "is-macro", @@ -436,7 +436,7 @@ dependencies = [ [[package]] name = "harper-ls" -version = "0.3.0" +version = "0.4.0" dependencies = [ "clap", "harper-core", diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.toml index ec72a254..b245bae1 100644 --- a/harper-core/Cargo.toml +++ b/harper-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "harper-core" -version = "0.3.0" +version = "0.4.0" edition = "2021" description = "The language checker for artists." license = "MIT OR Apache-2.0" diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict index 8eba8a79..664f168e 100644 --- a/harper-core/dictionary.dict +++ b/harper-core/dictionary.dict @@ -49585,3 +49585,4 @@ CommonMark/M lex/D Levenshtein/M QUERTY +SIMD diff --git a/harper-core/src/parsers/markdown.rs b/harper-core/src/parsers/markdown.rs index bf749c65..29dab5f6 100644 --- a/harper-core/src/parsers/markdown.rs +++ b/harper-core/src/parsers/markdown.rs @@ -1,7 +1,4 @@ -use itertools::Itertools; -use pulldown_cmark::LinkType; - -use super::{Parser, PlainEnglish, StrParser}; +use super::{Parser, PlainEnglish}; use crate::{Span, Token, TokenKind}; /// A parser that wraps the [`PlainEnglish`] parser that allows one to parse CommonMark files. diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml index bd1598e8..7e1f5c1b 100644 --- a/harper-ls/Cargo.toml +++ b/harper-ls/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "harper-ls" -version = "0.3.0" +version = "0.4.0" edition = "2021" description = "The language checker for artists." license = "MIT OR Apache-2.0" [dependencies] -harper-core = { path = "../harper-core", version = "0.3.0" } +harper-core = { path = "../harper-core", version = "0.4.0" } tower-lsp = "0.20.0" tokio = { version = "1.35.1", features = ["full"] } clap = { version = "4.4.18", features = ["derive"] } diff --git a/harper-ls/src/tree_sitter_parser.rs b/harper-ls/src/tree_sitter_parser.rs index 9981fcc0..c5756367 100644 --- a/harper-ls/src/tree_sitter_parser.rs +++ b/harper-ls/src/tree_sitter_parser.rs @@ -25,6 +25,7 @@ impl TreeSitterParser { "go" => tree_sitter_go::language(), "c" => tree_sitter_c::language(), "cpp" => tree_sitter_cpp::language(), + "h" => tree_sitter_cpp::language(), "rb" => tree_sitter_ruby::language(), "swift" => tree_sitter_ruby::language(), "cs" => tree_sitter_c_sharp::language(),