From ba189f2af129af86a0966335f6175de2ed5a0450 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 27 Oct 2023 13:24:37 +0200 Subject: [PATCH] Port changes from #3154 to zed2 --- crates/language2/src/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/language2/src/buffer.rs b/crates/language2/src/buffer.rs index 2e03c1da5c..3ab68d9f44 100644 --- a/crates/language2/src/buffer.rs +++ b/crates/language2/src/buffer.rs @@ -331,8 +331,8 @@ pub(crate) struct DiagnosticEndpoint { #[derive(Copy, Clone, Eq, PartialEq, PartialOrd, Ord, Debug)] pub enum CharKind { - Punctuation, Whitespace, + Punctuation, Word, }