aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
authorCor Peters2021-07-18 16:33:38 +0000
committerGitHub2021-07-18 16:33:38 +0000
commitcd65a48635d49ccc2aed55a315c3a33875e13f88 (patch)
tree0197d8f8fc68d29517e3ac564e4f9b2a2bf881b0 /helix-core/src/syntax.rs
parent0aa43902cab5dbcddb72ddf5d3b825ef874dc620 (diff)
Made toggle_comments language dependent (#463)
* Made toggle_comments language dependent * Fixed Test Cases * Added clippy suggestion * Small Fixes * Clippy Suggestion Co-authored-by: Cor <prive@corpeters.nl>
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r--helix-core/src/syntax.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 621cd046..9acf3d87 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -35,6 +35,7 @@ pub struct LanguageConfiguration {
pub scope: String, // source.rust
pub file_types: Vec<String>, // filename ends_with? <Gemfile, rb, etc>
pub roots: Vec<String>, // these indicate project roots <.git, Cargo.toml>
+ pub comment_token: Option<String>,
pub config: Option<String>,
#[serde(default)]