refactor: use builtin path functions#602
Conversation
|
i'll try to get the rest done tomorrow or later if there's not enough time. many of the path joins using |
|
i think this covers it all. please do let me know if i wasn't too eager with the use of i wasn't too sure what to do in rnw.lua#355 and rnw.lua#396 ( |
|
Thank you for your contribution! A few points to validate:
|
|
To verify:
The function is used in |
|
thanks a lot for the feedback!
|
|
I will be able to try the changes only on Saturday. For now, just two observations after quickly looking at the changes:
In code such as this: vim.fs.joinpath(config.remote_compl_dir, "tmp/bo_code.R")there is a forward slash that isn't being normalized. |
|
as per |
bf3b5aa to
0eb61ae
Compare
|
i have reverted the change in lsp/utils.lua and some of the path joins in pdf/sumatra.lua. for the rest of the issues, i'll wait for your opinion on how to resolve them best :) |
|
Hi and thank you. I will be back to my office tomorrow; I will have more time to dig in :) |
|
It seems to be working on my side, but I do not have access to a Windows machine. @jalvesaq, have you ? |
No. I uninstalled the virtual machine months ago because it was too slow. |
Maybe we could use CI to do at least some basic checks on a Windows machine. |
|
i used this branch a but on my windows machine and encountered no issues. couldn't test the whole functionality tho. |
|
@kkanden thank you for the changes. Are you working on Windows? If so, do you have any issue? I am asking because |
|
my work laptop is on windows and in |
this PR aims to unify path manipulation around the codebase both to ensure consistency and compatibility on all platforms using
vim.fsandvim.uvfunction where appropriate.i'll make commits limited to files or in larger batches to make debugging and reviewing easier.