mirror of
https://github.com/kossLAN/nvim-flake.git
synced 2025-11-04 17:59:50 -05:00
fix: get correct binary name for svelte server
This commit is contained in:
parent
1269c35828
commit
783d15262a
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
if vim.fn.executable('svelte-language-server') ~= 1 then
|
||||
if vim.fn.executable('svelteserver') ~= 1 then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ local lsp = require('user.lsp')
|
|||
|
||||
vim.lsp.start {
|
||||
name = 'svelte',
|
||||
cmd = { 'svelte-language-server', '--stdio' },
|
||||
cmd = { 'svelteserver', '--stdio' },
|
||||
root_dir = vim.fs.dirname(vim.fs.find(root_files, { upward = true })[1]),
|
||||
capabilities = lsp.make_client_capabilities(),
|
||||
on_attach = lsp.on_attach,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue