Skip to content

Commit

Permalink
feat: set default comment prefix to "///" for all languages
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Aug 9, 2024
1 parent e7ad4b8 commit 725467a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/processing/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,7 @@ impl SnippetLanguage {
use SnippetLanguage::*;
match self {
Rust => Some("# "),
Python | Bash | Fish | Shell | Zsh | Kotlin | Java | JavaScript | TypeScript | C | Cpp | Go => Some("/// "),
_ => None,
_ => Some("/// "),
}
}
}
Expand Down

0 comments on commit 725467a

Please sign in to comment.