Change the default comment token

This commit is contained in:
Kieran Moy 2024-11-17 16:11:22 +08:00
parent 6cca98264f
commit c030ef5863
No known key found for this signature in database
GPG Key ID: 5D0DC1D499738608

View File

@ -9,7 +9,7 @@
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<str>>(