Comments (6)
I have added a note to README to tell users load fzf-tab after compinit.
Close if have no question.
from fzf-tab.
It seems like fast-syntax-highlighting either cannot deal with copied widgets or with widgets whose names start with a period. I suggest filing a bug against fast-syntax-highlighting.
from fzf-tab.
I do not completely understand why it was changed in the first place or how to fix it.
The previous version of the highlighted code was a hack. It was using undocumented implementation details of zsh-autosuggestions. The new code doesn't rely on implementation details of any project.
from fzf-tab.
Umm...It's really difficult to deal with widgets...
I have a new idea: hook _main_complete
to call _fzf_tab_complete
directly so that I won't suffering from widgets bind hell.
It can't solve this issue.
from fzf-tab.
zsh-syntax-highlighting.zsh wraps ZLE widgets. It must be sourced after all custom widgets have been created (i.e., after all zle -N calls and after running compinit). Widgets created later will work, but will not update the syntax highlighting.
I guess you load f-sy-h before call compinit, results in f-sy-h wrap the wrong widget.
I think I can also add such a hint to README so that fzf-tab doesn't need to deal with the situation where compsys hasn't initialized.
from fzf-tab.
I guess you load f-sy-h before call compinit, results in f-sy-h wrap the wrong widget.
Ah, this seems to fix the issue for me. Thank you for looking into this, @Aloxaf!
from fzf-tab.
Related Issues (20)
- install as Homebrew[FR] HOT 1
- [Q] Immediately execute completion HOT 1
- [FR] format in fzf ignroes the "%" formatting stuff, like colors... HOT 2
- [Q] Problem with zsh: Command not found: _podman, but it's installed. HOT 1
- [BUG] 在最新版本的 fzf-tab 中无法使用 fzf-bindings 参数绑定 tab:accept HOT 2
- [BUG] Errors with global alias defined as 'C'
- [Q] Display icons in the main fzf-tab list
- Add more detailed instructions about compinit in README
- -ftb-complete:14: -ftb-generate-comlist: function definition file not found
- [BUG] fzf-bindings 'tab:accept' stops working after changing directories and going back HOT 1
- [BUG] Completion failing on Ubuntu 20.04 (fzf version <= 0.20.0) HOT 3
- [BUG] bat preview shows only some lines of a file
- [BUG] Void Linux: command not found: _complete HOT 1
- [FR] add aliased command to `$desc`
- [BUG] fzf-tab gives a weird error HOT 2
- Trouble getting fzf-tab to work without nvm [BUG] HOT 1
- [BUG] zsh: command not found: enable-fzf-tab HOT 1
- [FR] Allow to disable default bindings HOT 2
- [FR]
- [Q] Can tab complete to the longest common prefix, then open fzf? HOT 1
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 fzf-tab.