fix rustfmt error and remove bash injection

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>
This commit is contained in:
Suraj Ghimire 2022-09-12 15:07:33 +05:30
parent de1a928030
commit cefd13f40e
No known key found for this signature in database
GPG Key ID: 1263B04589021BE8
2 changed files with 3 additions and 5 deletions

View File

@ -1,2 +0,0 @@
((comment) @injection.content
(#set! injection.language "comment"))

View File

@ -540,7 +540,7 @@ pub enum LapceLanguage {
id: LapceLanguage::Css,
language: tree_sitter_css::language,
highlight: include_str!("../queries/css/highlights.scm"),
injection: None ,
injection: None,
comment: "/*",
indent: " ",
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
@ -551,7 +551,7 @@ pub enum LapceLanguage {
id: LapceLanguage::Zig,
language: tree_sitter_zig::language,
highlight: include_str!("../queries/zig/highlights.scm"),
injection: Some(tree_sitter_zig::INJECTIONS_QUERY) ,
injection: Some(tree_sitter_zig::INJECTIONS_QUERY),
comment: "//",
indent: " ",
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),
@ -562,7 +562,7 @@ pub enum LapceLanguage {
id: LapceLanguage::Bash,
language: tree_sitter_bash::language,
highlight: include_str!("../queries/bash/highlights.scm"),
injection: None ,
injection: None,
comment: "#",
indent: " ",
code_lens: (DEFAULT_CODE_LENS_LIST, DEFAULT_CODE_LENS_IGNORE_LIST),