mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 12:27:42 +03:00
Make shebangs optional, they don't make sense outside of scripts
This commit is contained in:
parent
41fc326325
commit
f804ed3192
2 changed files with 5 additions and 26 deletions
|
@ -52,7 +52,8 @@ pub struct LanguageConfiguration {
|
|||
pub language_id: String,
|
||||
pub scope: String, // source.rust
|
||||
pub file_types: Vec<String>, // filename ends_with? <Gemfile, rb, etc>
|
||||
pub shebangs: Vec<String>, // interpreter(s) associated with language
|
||||
#[serde(default)]
|
||||
pub shebangs: Vec<String>, // interpreter(s) associated with language
|
||||
pub roots: Vec<String>, // these indicate project roots <.git, Cargo.toml>
|
||||
pub comment_token: Option<String>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue