stevearc / oil.nvim

Neovim file explorer: edit your filesystem like a buffer
MIT License
3.36k stars 91 forks source link

fix: cannot perform file/directory operations within LSP workspaces #411

Closed namvnngu closed 3 weeks ago

namvnngu commented 3 weeks ago

Hi @stevearc,

This is my very first PR to contribute to the most favorite plugin that I cannot live without. I raise a PR to fix the issue #410. The root cause of the issue is that the plugin called vim.has("nvim-0.11") instead of vim.fn.has("nvim-0.11") in the file lua/oil/lsp/workspace.lua.

I would really appreciate if you can review my PR.

Thank you so much.

RVxLab commented 3 weeks ago

@namvnngu I can confirm your fix worked on 0.10 stable, much appreciated!

namvnngu commented 3 weeks ago

@namvnngu I can confirm your fix worked on 0.10 stable, much appreciated!

@RVxLab Thanks for your confirmation.

stevearc commented 3 weeks ago

Thanks for the fix!