Extra completion for some kitty options

This commit is contained in:
Kovid Goyal
2022-09-16 21:55:31 +05:30
parent c2a2b4c087
commit 25a7ec9a07
3 changed files with 33 additions and 0 deletions

View File

@@ -125,6 +125,9 @@ def completion(self: TestCompletion, tdir: str):
add('kitty --directory ', all_words('bin/', 'sub/'))
add('kitty -1d ', all_words('bin/', 'sub/'))
add('kitty -1d', all_words('-1d'))
add('kitty -o a', has_words('allow_remote_control='))
add('kitty --listen-on ', all_words('unix:', 'tcp:'))
add('kitty --listen-on unix:b', all_words('unix:bin/'))
add('kitty --directory=', all_words('--directory=bin/', '--directory=sub/'))
add('kitty --start-as=m', all_words('--start-as=minimized', '--start-as=maximized'))
add('kitty @launch --ty', has_words('--type'))