mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
parent
36631ddc49
commit
efaf9faa38
7 changed files with 10 additions and 256 deletions
|
|
@ -144,9 +144,7 @@ def generate_completions_for_kitty() -> None:
|
|||
|
||||
# clone-in-kitty, edit-in-kitty
|
||||
print('cik := root.AddSubCommand(&cli.Command{Name:"clone-in-kitty"})')
|
||||
print('eik := root.AddSubCommand(&cli.Command{Name:"edit-in-kitty"})')
|
||||
completion_for_launch_wrappers('cik', 'eik')
|
||||
print(''.join(CompletionSpec.from_string('type:file mime:text/* group:"Text files"').as_go_code('eik.ArgCompleter', ' = ')))
|
||||
completion_for_launch_wrappers('cik')
|
||||
|
||||
print('}')
|
||||
print('func init() {')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue