tjdevries / nlua.nvim

Lua Development for Neovim
MIT License
262 stars 21 forks source link

Fix main.lua path #11

Open kitagry opened 4 years ago

kitagry commented 4 years ago

Hi @tjdevries, Thank you for the nice plugin!

I use this plugin in Windows10. And, I cloned lua_language_server to ${vim.fn.stdpath('cache')}/nvim_lsp/sumneko_lua/ by myself. But, nvim_lsp returns errors as the following. This is probably due to the wrong path in main.lua. I'm not certain that this fix is correct, but in my environment, this works well. If you don't like it, please feel free to close it. Thank you.

"${vim.fn.stdpath('cache')}/nvim_lsp/sumneko_lua/lua-language-server/bin/Windows/lua-language-server: cannot open ${vim.fn.stdpath('cache')}/nvim/nvim_lsp/sumneko_lua/lua-language-server/main.lua: No such file or directory\r\n"