File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use helix_core::{
21
21
char_idx_at_visual_offset,
22
22
chars:: char_is_word,
23
23
command_line,
24
- comment:: { self , DEFAULT_COMMENT_TOKEN } ,
24
+ comment:: { self } ,
25
25
doc_formatter:: TextFormat ,
26
26
encoding, find_workspace,
27
27
graphemes:: { self , next_grapheme_boundary} ,
Original file line number Diff line number Diff line change @@ -1606,7 +1606,7 @@ fn tree_sitter_scopes(
1606
1606
1607
1607
fn tree_sitter_injections (
1608
1608
cx : & mut compositor:: Context ,
1609
- _args : & [ Cow < str > ] ,
1609
+ _args : Args ,
1610
1610
event : PromptEvent ,
1611
1611
) -> anyhow:: Result < ( ) > {
1612
1612
if event != PromptEvent :: Validate {
@@ -3238,7 +3238,11 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
3238
3238
aliases : & [ ] ,
3239
3239
doc : "Display injected languages for the file." ,
3240
3240
fun : tree_sitter_injections,
3241
- signature : CommandSignature :: none ( ) ,
3241
+ completer : CommandCompleter :: none ( ) ,
3242
+ signature : Signature {
3243
+ positionals : ( 0 , Some ( 0 ) ) ,
3244
+ ..Signature :: DEFAULT
3245
+ } ,
3242
3246
} ,
3243
3247
TypableCommand {
3244
3248
name : "debug-start" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub mod tasks {
31
31
] ;
32
32
33
33
for language in lang_config ( ) . language {
34
- let language_name = & language. language_id ;
34
+ let language_name = & language. language_name ;
35
35
let grammar_name = language. grammar . as_ref ( ) . unwrap_or ( language_name) ;
36
36
for query_file in query_files {
37
37
let language = get_language ( grammar_name) ;
You can’t perform that action at this time.
0 commit comments