From 3eec22b0f6222bc93bf684c187b456359b746bfe Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Thu, 17 Nov 2022 08:36:58 +0900 Subject: [PATCH] Update lilypond completion --- src/_lilypond | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/_lilypond b/src/_lilypond index e7a31e1..920f075 100644 --- a/src/_lilypond +++ b/src/_lilypond @@ -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