Closed AlanWarren closed 2 years ago
What neovim version do you have? Could you check if you have latest nightly? I've checked on 3 different OS and the installer works fine. Maybe you have 0.8 version which doesn't have winbar support yet, I'm not sure. Try commenting everything from line 16 to bottom in lua/autocmds.lua
.
I was using NVIM v0.8.0-dev+359-g9745941ef
Just grabbed the latest nightly - NVIM v0.8.0-dev+374-ge13dcdf16 Same error as above. :(
I've tried commenting everything from line 16 to the bottom on lua/autocmds.lua
. The error does go away, but each time I open neovim it lists the following language servers are being installed.
(automatic installation) Installing LSP server: tsserver
(automatic installation) Installing LSP server: tailwindcss
(automatic installation) Installing LSP server: eslint
(automatic installation) Installing LSP server: jsonls
(automatic installation) Installing LSP server: sumneko_lua
(automatic installation) Installing LSP server: vuels
(automatic installation) Installing LSP server: bashls
(automatic installation) Installing LSP server: cssls
(automatic installation) Installing LSP server: graphql
(automatic installation) Installing LSP server: html
(automatic installation) Installing LSP server: volar
Press ENTER or type command to continue
After pressing ENTER
nvim opens with autocmds.lua loaded as a buffer. (not sure why it's doing that)
If I execute :messages
I can see the following.
Spawning language server with cmd: `lua-language-server` failed. The language server is either not installed, missing from PATH, or not executable.
Press ENTER or type command to continue
Also, just curious. Why does your installer reset my bat theme? I can resolve this with bat cache --build
but just seems odd.
Appreciate it
but each time I open neovim it lists the following language servers are being installed.
Servers should be installed just once and then message should dissapear, I know it's annoying and there is opened issue for that -> https://github.com/williamboman/nvim-lsp-installer/issues/702
You can check your installation progress by :LspInstallInfo
.
You can try to remove sumneko_lua
from lua/lsp/setup.lua
as it's in the list to auto install LSPs. Then you can manually install it with :LspInstall. Maybe then it won't fail. To me it installs each time correctly.
After pressing ENTER nvim opens with autocmds.lua loaded as a buffer.
Sounds like session-manager auto opens last saved session (if possible). I removed this as default with Ecovim 1.9.0, so if it's not that I don't know answer why it's doing it. You can check in lua/plugins/session-manager.lua
Why does your installer reset my bat theme?
I don't know answer to this question. I don't have anything related to bat
in my config so I guess it's not Ecovim fault.
What OS are you using? I'm using daily MacOS now but will check my config again on Arch linux. (I was checking on Alpine and Ubuntu recently and installer works perfectly with nvim 0.7).
@AlanWarren I was able to reproduce this issue on Linux. On MacOS it was working fine. I'll push a fix soon :)
@AlanWarren Should be fixed now, please let me know :) If you you Neovim 0.8 Nightly right now after first Ecovim install winbar will not work (it has some errors with loading, idk why yet). But after the second run, it should work fine and show.
@ecosse3 I had a chance to try it out, and everything appears functional. Appreciate it!
Hello,
I've tried both master + dev branches, but i'm getting the same error when running the installer script.
Post install, nvim opens and packer fetches everything ok it seems. Following plugin installation, nvim opens with the following error.
Sorry I don't feel capable of debugging this, as i'm not sure if the lua api has regressed somewhere, etc. This is my first steps into any of the new lua features in nvim.
Thanks!