Skip to content

Releases: adaszko/complgen

v0.2.0

06 Jul 08:47
v0.2.0
cacb397
Compare
Choose a tag to compare

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

03 Dec 14:30
v0.1.8
14e34b1
Compare
Choose a tag to compare

0.1.8

Changed

  • Breaking: complgen complete has been renamed to complgen jit to better reflect it's for just-in-time completion
  • Breaking: complgen compile has been renamed to complgen 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

12 Nov 09:49
v0.1.7
cb0ef62
Compare
Choose a tag to compare

Fixed

  • Bash,JIT: Shell integration should now handle $COMP_WORDBREAKS characters correctly
  • Bash,JIT: Fixed Bash shell integration

v0.1.6

21 Oct 06:59
v0.1.6
3d4a22a
Compare
Choose a tag to compare

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

01 Oct 08:40
v0.1.5
0e506e6
Compare
Choose a tag to compare

Fixed

  • JIT completion bug: Grammar cmd +{{{ echo foo }}}<TAB> was being completed ad infinitum.

v0.1.4

30 Sep 08:12
v0.1.4
39ac21d
Compare
Choose a tag to compare

Added

  • In zsh, for the grammar --color=(always|never) and input --color=<TAB>, you will now see always 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 with zstyle ':completion:*' list-grouped true/false)

Removed

  • Single brackets external commands as they're superfluous (replaced with triple brackets ones)

v0.1.3

03 Sep 10:04
v0.1.3
1618b77
Compare
Choose a tag to compare

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

01 Sep 10:24
v0.1.2
d9e2241
Compare
Choose a tag to compare

Fixed

  • A bug in Bash output where order of arguments to mapfile was wrong

v0.1.1

01 Sep 08:00
v0.1.1
92c7703
Compare
Choose a tag to compare

Added

  • Binary releases on GitHub

Fixed

  • Bug in parser where descriptions were being distributed too generously.