Releases: adaszko/complgen
Releases · adaszko/complgen
v0.2.0
Changed
- Breaking:
{{{ ... }}}
commands and many predefined nonterminals (e.g.<PATH>
, etc) are now allowed
in fewer places to keep grammars unambiguous. It statically safeguards against some bugs in completion
scripts. - Breaking: Releases aren't published via Homebrew anymore -- use
cargo install
. - Breaking: JIT completion now emits shell scripts (as opposed to plain strings) in all shells. Integration scripts need to be adjusted accordingly. Details in README.md.
Fixed
- Autoloading of ZSH completion scripts works now (#38)
Added
- Fallback completions. It's only implemented in JIT mode for now. See README for details.
v0.1.8
0.1.8
Changed
- Breaking:
complgen complete
has been renamed tocomplgen jit
to better reflect it's for just-in-time completion - Breaking:
complgen compile
has been renamed tocomplgen aot
to better reflect it's for ahead-of-time completion script generation
Fixed
- Bash,AOT: Completion trailing spaces are now added precisely (#35)
- Bash,JIT: Completion trailing spaces are now added precisely (#35)
- Zsh,JIT: Completion trailing spaces are now added precisely (#35)
- Bash,AOT: Further improve
$COMP_WORDBREAKS
characters handling - Bash,JIT: Further improve
$COMP_WORDBREAKS
characters handling
v0.1.7
Fixed
- Bash,JIT: Shell integration should now handle $COMP_WORDBREAKS characters correctly
- Bash,JIT: Fixed Bash shell integration
v0.1.6
Fixed
- ZSH,JIT: Completing in the middle of a word (with
complete_in_word
option set) works now - ZSH,JIT: Completing paths tcsh style (
f/b/b<TAB>
->foo/bar/baz
) works now
Changed
- Breaking:
complgen complete
CLI interface has changed. Shell integration configuration needs to be updated. See README.
v0.1.5
Fixed
- JIT completion bug: Grammar
cmd +{{{ echo foo }}}<TAB>
was being completed ad infinitum.
v0.1.4
Added
- In zsh, for the grammar
--color=(always|never)
and input--color=<TAB>
, you will now seealways
and
never
, not--color=always
and--color=never
. This generalized to all subword completions of course. - Descriptions can now contain escaped characters, e.g. a quote character or a backslash.
- More readable parsing errors using the chic Rust crate
- Scraper is now based on a bunch of regexes instead of a complicated parser. This simplifies the code a lot.
Changed
- If multiple literals have the same decription, they're now grouped into a single line (this can be
controlled withzstyle ':completion:*' list-grouped true/false
)
Removed
- Single brackets external commands as they're superfluous (replaced with triple brackets ones)
v0.1.3
Fixed
- More compact zsh completions in JIT mode
- Zsh,JIT: Only consider completions with descriptions when aligning completions for better appearance
- Remove leftover parenthesis in ZSH subword descriptions
v0.1.2
Fixed
- A bug in Bash output where order of arguments to
mapfile
was wrong
v0.1.1
Added
- Binary releases on GitHub
Fixed
- Bug in parser where descriptions were being distributed too generously.