Giter Site home page Giter Site logo

Comments (4)

adaszko avatar adaszko commented on September 28, 2024

Hi! This is a known limitation. Until zsh allows for calling _describe function twice to specify completions, I don't think it can be fixed on the complgen side.

See comment from _describe sources:

% run-help _describe
_describe is a shell function from /opt/homebrew/Cellar/zsh/5.9/share/zsh/functions/_describe
% head /opt/homebrew/Cellar/zsh/5.9/share/zsh/functions/_describe
[...]
# ### Note: Calling this function twice during one completion operation, such
# ### that in each call there exists a pair of items having the same description
# ### as each other, and the two calls specify the same $_type, currently leads
# ### to garbled output; see workers/35229 (May 2015) and its thread (which also
# ### discusses at least two other issues, that may or may not be related to
# ### this one).
[...]

from complgen.

adaszko avatar adaszko commented on September 28, 2024

I pushed a commit with an alternative trailing space handling in JIT mode proving there's a way after all. It still needs to be ported to the AOT mode though.

from complgen.

adaszko avatar adaszko commented on September 28, 2024

Check with latest master please. This should now behave properly.

from complgen.

adaszko avatar adaszko commented on September 28, 2024

Fix included in the latest release.

from complgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.