However, when I do this I get: Failed to run "config" for nvim-jdtls ~/.local/share/nvim/lazy/nvim-jdtls/lua/jdtls/setup.lua:275: bad argument #1 to 'concat' (table expected, got nil).
I'm happy with the default config for cmd. I don't want to type it out again. Moreover, the error message is more than a little obtuse. It doesn't properly handle the case where cmd is nil.
Problem Statement
I'm trying to setup nvim-jdtls with the following config:
However, when I do this I get:
Failed to run "config" for nvim-jdtls ~/.local/share/nvim/lazy/nvim-jdtls/lua/jdtls/setup.lua:275: bad argument #1 to 'concat' (table expected, got nil)
.I'm happy with the default config for
cmd
. I don't want to type it out again. Moreover, the error message is more than a little obtuse. It doesn't properly handle the case wherecmd
is nil.Ideas or possible solutions
If
cmd
is nil, set it to the default.