Skip to content

Commit

Permalink
fix the 'Unknown operator' on windows
Browse files Browse the repository at this point in the history
cased by '/' in cwd path
  • Loading branch information
zhufengning authored Nov 24, 2022
1 parent a0685e9 commit 741473a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/ionide/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ local function create_manager(config)
if not root_dir then
root_dir = vim.fn.getcwd()
end
root_dir = string.gsub(root_dir, "\\", "/")
api.nvim_command(
string.format(
"autocmd %s lua require'ionide'.manager.try_add_wrapper()",
Expand Down

0 comments on commit 741473a

Please sign in to comment.