Merge pull request #929 from zsh-users/update_lilypond

Update lilypond completion
This commit is contained in:
Shohei YOSHIDA 2022-11-17 20:31:10 +09:00 committed by GitHub
commit 7483c68a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#compdef lilypond
# ------------------------------------------------------------------------------
# Copyright (c) 2021 Github zsh-users - http://github.com/zsh-users
# Copyright (c) 2021 Github zsh-users - https://github.com/zsh-users
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -28,7 +28,7 @@
# Description
# -----------
#
# Completion script for lilypond (https://lilypond.org/)
# Completion script for lilypond 2.22.2 (https://lilypond.org/)
#
# ------------------------------------------------------------------------------
# Authors
@ -38,8 +38,8 @@
#
# ------------------------------------------------------------------------------
_arguments -S -A "-*" \
'(- 1 *)-d help[show help for scheme options]' \
_arguments -C -S -A "-*" \
'(- 1 *)-dhelp[show help for scheme options]' \
'(- 1 *)'{-h,--help}'[show usage information]' \
'(- 1 *)'{-v,--version}'[show version number]' \
'(- 1 *)'{-w,--warranty}'[show warranty and copyright]' \
@ -71,6 +71,7 @@ case $state in
'check-internal-types[check every property assignment for types]:check-internal-types:(\#t \#f)' \
'clip-systems[generate cut-out snippets of a score]:clip-systems:(\#t \#f)' \
'crop[match the size of the normal output to the typeset image]:crop:(\#t \#f)' \
'datadir[LilyPond prefix for data files]: :_files -/' \
'debug-gc-assert-parsed-dead[ensure that all references to parsed objects are dead]:debug-gc-assert-parsed-dead:(\#t \#f)' \
'debug-gc[dump memory debugging statistics]:debug-gc:(\#t \#f)' \
'debug-lexer[debug the flex lexer]:debug-lexer:(\#t \#f)' \
@ -119,6 +120,15 @@ case $state in
'strip-output-dir[don'\''t use directories from input files while constructing output file names]:strip-output-dir:(\#t \#f)' \
'strokeadjust[set the PostScript '\''strokeadjust'\'' operator explicitly]:strokeadjust:(\#t \#f)' \
'svg-woff[use woff font files in SVG backend]:svg-woff:(\#t \#f)' \
'verbose[verbose output]:verbose:(\#t \#f)' \
'warning-as-error[change all warning and programming_error messages into errors]:warning-as-error:(\#t \#f)'
;;
esac
# Local Variables:
# mode: Shell-Script
# sh-indentation: 2
# indent-tabs-mode: nil
# sh-basic-offset: 2
# End:
# vim: ft=zsh sw=2 ts=2 et