Skip to content
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

Create Sysbolic link for Windows #177

Merged
merged 3 commits into from
Jul 31, 2024
Merged

Create Sysbolic link for Windows #177

merged 3 commits into from
Jul 31, 2024

Conversation

ziboh
Copy link
Contributor

@ziboh ziboh commented Jul 29, 2024

Symbolic links cannot be created using the ln command in Windows.
I will use New-Item in PowerShell to create a symbolic link.
This will solve #176 issue.

@ziboh ziboh closed this Jul 29, 2024
@ziboh ziboh reopened this Jul 29, 2024
lua/gp/init.lua Outdated
Comment on lines 1671 to 1672
file_name = file_name:gsub("\\", "/")
chat_dir = chat_dir:gsub("\\", "/")
Copy link
Owner

@Robitx Robitx Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Could you give me an example of why is this needed here? Wouldn't it be sufficient to put it in the if file_name ~= last and vim.fn.has("win32") then branch?

@Robitx Robitx merged commit 0f3b5bd into Robitx:main Jul 31, 2024
1 check failed
This was referenced Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants