-
Notifications
You must be signed in to change notification settings - Fork 168
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
Windows Support [WIP] #1001
Windows Support [WIP] #1001
Conversation
refactor: retire complex windows escaping logic refactor: fzf `--multi` option refactor: path module (+added tests) fix: misc fixes for windows fix: cwd header test fix: path.starts_with_separator fix: git commits|bcommits fix: git_diff previewer `sh -c` -> `cmd` fix: profiles, help_tags chore: lua_ls warnings, format luarc.json with prettier
@ibhagwan. Is there something I can help you with right now? If no, I can continue checking that all All the changes seem great, I'll check the test on my Linux environment because, last time I checked, PlenaryBusted did not have support for windows :c. |
Whatever you can think of, certainly you can let me know which commands do not work properly and we can add them to the TODO list. If you're up to up you can also write tests for Lines 545 to 549 in 4e01b21
Pleanary busted works on my windows VM: 4e01b21 - latest commit a few minutes ago added support for listing files with the |
Would it be ok to allways use
Oh, you are right, I just tested it :o. Those are awesome news. |
Not sure if I understand your question properly, I think it would be ok to use |
If you take a look at Lines 14 to 25 in 4e01b21
Edit: Btw, I haven't finished the rewrite of the path module, I still wish to revamp |
@TheLeoP, shouldn't change much as you didn't add new commits yet, just FYI that I rebased the windows branch again after the recent commits. |
d39677f
to
7b9069f
Compare
@TheLeoP, I know I've said this beore but I think I've nailed it, the perfect windows escape logic for If you want you can get a glimpse of windows going full retard at Lines 29 to 76 in 7b9069f
Once fzf-lua/lua/fzf-lua/make_entry.lua Lines 381 to 388 in 7b9069f
I'm a bit tired so I didn't test everything fully (which I intend to invest time in tomorrow) but I think it's fair to say I'm getting close to finalizing the windows code which I also utilized for general improvements (base64 encoding of the arguments, code dedup where possible, etc). My plan is to make a list of pickers and options to test and make sure these work on Mac/Linux/Windows, e.g.:
Would be appreicated if you can do some rudimentary testing and lmk if the code is on the right track and works on your environment as it works on mine? |
d22828e
to
089ec99
Compare
9065879
to
8bf3b5e
Compare
97ab3d5
to
a038250
Compare
This PR is mainly used for tracking, since I'm getitng closer to releasing the windows branch for beta testing I'm going to close this PR and continue tracking in #1038. Once fully merged your original contribution from #961 will retain it's authorship and be merged to main under your name. |
This intended to continue the work of #961.
TODO:
Fzflua buffers
not work withctrl-n
andctrl-p
?cmd.exe
, not only if os is windows (support posix shells on windows?)