-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exec.space_prefix
setting doesn't take effect until second input line
#73
Comments
Can you please give some specific examples? What steps are followed, what is expected to happen, and what happens instead? Also, yes, it's intended that typing spaces at the beginning of the line changes how completion works. See the Thanks! |
Thanks @chrisant996 now I can use Tab completion first word with space prefix after set but when I do this but when I do this and when I run clink infoversion : 1.1.29.d6b2fc |
Can you clarify the steps for how to reproduce the problem?
This is expected behavior; Inserting leading spaces turns off doskey expansion in Clink, just like it turns off doskey expansion in CMD. If you want to be able to type spaces before |
"New Folder" for example where current working directory |
Yes and exit
type some word and enter.
You are right simply type
|
In the gif I see attempts to complete prefixes of It's correct for those to not complete:
The reason Everything appears to be working correctly in the gif. Thank you very much for taking the time and effort to report the scenario and make a gif movie of it to help me see what was happening! |
in gif after
I have no problem with that, thank you if you want it to be refined
I see
maybe I'm the only one who has this problem
Thank you @chrisant996 can i ask?can i use z.lua with clink without lua program |
Oh, I see now: Yes, I'm able to get it to sometimes complete things prefixed with spaces even when it shouldn't. That's what you're pointing out, right? Thank you for persisting until I was able to reproduce what you're reporting. 🙃 |
I got it to happen a couple times, but it's intermittent and hard for me to get it to start happening. Although we are experiencing opposite symptoms, I think the cause is very likely the same for both. The symptoms are consistent with an uninitialized variable somewhere, or missing a spot where some variable needs to get reset. I'll work on tracking it down. |
It turned out be a problem in loading settings that are defined in Lua scripts (the exec matching is defined in some built-in Lua scripts). A change in v1.1.4 wasn't fully correct, and caused settings define in Lua scripts to not take effect until the second input line. |
exec.space_prefix
setting doesn't take effect until second input line
but it seems to be just auto complete for commands that do not work.
I added spaces to ignore history
clink: 1.1.29
The text was updated successfully, but these errors were encountered: