Comments (4)
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.
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.
Check with latest master please. This should now behave properly.
from complgen.
Fix included in the latest release.
from complgen.
Related Issues (20)
- Eliminate redundant edges for subwords in DOT output
- Friendlier parsing error messages
- `complgen scrape` should output grammars using the "distributive descriptions" feature
- [bash] Words containing a colon not completed correctly HOT 2
- Bash integration not working for `--color=(always|never)` HOT 9
- usage/complgen.usage is producing warnings HOT 2
- Completion for ZSH doesn't work in default path HOT 7
- Warning: Final DFA contains ambiguous transitions
- Bash: Respect `completion-ignore-case` readline setting
- JIT: Execute external command lazily based on the fallbacks order
- Implement fallback completions (`||`) in AOT mode
- Milestone: Rough feature parity with `git-completion.bash`
- There seems to be a discrepancy between the docs and the runtime HOT 4
- [FR] <PATH> behaviour inconsistent with non-complgen path completion HOT 4
- how to use external command to generate a list of available values with decriptions HOT 3
- Unable to use subword completion HOT 7
- Tag v0.2.0 doesn't update Cargo version HOT 1
- Release 0.2.0 introduces breaking changes when git is not present HOT 3
- Representing multiple exclusive words separated by , HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from complgen.