Closed strcat closed 2 years ago
same with me, error like that...
Have you tried looking at your file /home/dope/.config/nvim/lua/user/lsp/settings/jsonls.lua
on line 172
as the error message suggests the issue is at? I'd wager there's a function call there that is causing the issue.
@ch4iril For you that'd be /Users/Ces30/.config/nvim/lua/user/lsp/settings/json.lua" at line
172`.
Yep. But i never changed/edited this file manually but anyway.
171: local function extend(tab1, tab2)
172: for _, value in ipairs(tab2) do
173: table.insert(tab1, value)
174: end
175: return tab1
176: end
Where does it come from? It's not from this plugin at least 😅
Have you tried looking at your file
/home/dope/.config/nvim/lua/user/lsp/settings/jsonls.lua
on line172
as the error message suggests the issue is at? I'd wager there's a function call there that is causing the issue.@ch4iril For you that'd be
/Users/Ces30/.config/nvim/lua/user/lsp/settings/json.lua" at line
172`.
i comment the line 16 in lsp-installer (jsonls), the notif red text gone.
Closing as this is an error outside of nvim-lsp-installer!
Problem description
Since recently i am getting the error
[nvim-lsp-installer] /home/dope/.config/nvim/lua/user/lsp/settings/jsonls.lua:172: bad argument #1 to 'ipairs' (table expected, got nil)
Neovim version (>= 0.6)
NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3
Operating system/version
Linux dreckskind 5.10.16-arch1-1 #1 SMP PREEMPT Sat, 13 Feb 2021 20:50:18 +0000 x86_64 GNU/Linux
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig
Affected language servers
all
Actual behavior
Error on starting nvim
Expected behavior
Well.. should start without any errors
Healthcheck output
Screenshots
No response