mirror of
https://github.com/mfussenegger/nvim-jdtls
synced 2024-09-16 14:34:13 +02:00
Remove config.cmd executable check
Apparently it doesn't work right on windows:
https://github.com/mfussenegger/nvim-jdtls/issues/479
The check is redundant anyway, because the built-in client will fail
with a good error message since:
1a60580925
This commit is contained in:
parent
b041dd4308
commit
355de7458f
1 changed files with 0 additions and 4 deletions
|
@ -214,10 +214,6 @@ function M.start_or_attach(config)
|
|||
'Config must have a `cmd` property and that must be a table. Got: '
|
||||
.. table.concat(config.cmd, ' ')
|
||||
)
|
||||
assert(
|
||||
tonumber(vim.fn.executable(config.cmd[1])) == 1,
|
||||
'LSP cmd must be an executable: ' .. config.cmd[1]
|
||||
)
|
||||
config.name = 'jdtls'
|
||||
|
||||
local bufnr = api.nvim_get_current_buf()
|
||||
|
|
Loading…
Reference in a new issue