Change the default comment token

pull/12080/head
Kieran Moy 2 weeks ago
parent 6cca98264f
commit c030ef5863
No known key found for this signature in database
GPG Key ID: 5D0DC1D499738608

@ -9,7 +9,7 @@ use crate::{
use helix_stdx::rope::RopeSliceExt; use helix_stdx::rope::RopeSliceExt;
use std::borrow::Cow; 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). /// Returns the longest matching comment token of the given line (if it exists).
pub fn get_comment_token<'a, S: AsRef<str>>( pub fn get_comment_token<'a, S: AsRef<str>>(

Loading…
Cancel
Save