From c030ef58638a74731fa2f2b608a7458d88ad7046 Mon Sep 17 00:00:00 2001 From: Kieran Moy Date: Sun, 17 Nov 2024 16:11:22 +0800 Subject: [PATCH] Change the default comment token --- helix-core/src/comment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-core/src/comment.rs b/helix-core/src/comment.rs index 427021874..cff8b7051 100644 --- a/helix-core/src/comment.rs +++ b/helix-core/src/comment.rs @@ -9,7 +9,7 @@ use crate::{ use helix_stdx::rope::RopeSliceExt; use std::borrow::Cow; -pub const DEFAULT_COMMENT_TOKEN: &str = "//"; +pub const DEFAULT_COMMENT_TOKEN: &str = "#"; /// Returns the longest matching comment token of the given line (if it exists). pub fn get_comment_token<'a, S: AsRef>(