Skip to content

Commit d09f773

Browse files
committed
feat: fix merge conflicts
1 parent f8a38a1 commit d09f773

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

helix-term/src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use helix_core::{
2121
char_idx_at_visual_offset,
2222
chars::char_is_word,
2323
command_line,
24-
comment::{self, DEFAULT_COMMENT_TOKEN},
24+
comment::{self},
2525
doc_formatter::TextFormat,
2626
encoding, find_workspace,
2727
graphemes::{self, next_grapheme_boundary},

helix-term/src/commands/typed.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ fn tree_sitter_scopes(
16061606

16071607
fn tree_sitter_injections(
16081608
cx: &mut compositor::Context,
1609-
_args: &[Cow<str>],
1609+
_args: Args,
16101610
event: PromptEvent,
16111611
) -> anyhow::Result<()> {
16121612
if event != PromptEvent::Validate {
@@ -3238,7 +3238,11 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
32383238
aliases: &[],
32393239
doc: "Display injected languages for the file.",
32403240
fun: tree_sitter_injections,
3241-
signature: CommandSignature::none(),
3241+
completer: CommandCompleter::none(),
3242+
signature: Signature {
3243+
positionals: (0, Some(0)),
3244+
..Signature::DEFAULT
3245+
},
32423246
},
32433247
TypableCommand {
32443248
name: "debug-start",

xtask/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub mod tasks {
3131
];
3232

3333
for language in lang_config().language {
34-
let language_name = &language.language_id;
34+
let language_name = &language.language_name;
3535
let grammar_name = language.grammar.as_ref().unwrap_or(language_name);
3636
for query_file in query_files {
3737
let language = get_language(grammar_name);

0 commit comments

Comments
 (0)