Add svelte lsp config for LspInstall (#202)

This commit is contained in:
chaeing 2021-03-31 07:50:00 -07:00 committed by GitHub
parent 7fa7e3c275
commit 029c7e5219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

4
lua/lsp/svelte-ls.lua Normal file
View file

@ -0,0 +1,4 @@
require'lspconfig'.svelte.setup {
cmd = {DATA_PATH .. "/lspinstall/svelte/node_modules/.bin/svelteserver", "--stdio"},
on_attach = require'lsp'.common_on_attach
}