nvim: Svelte
This commit is contained in:
parent
6ae0878d41
commit
82e986a45e
3 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,7 @@ local on_attach = function(client, bufnr)
|
||||||
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
local servers = { 'zls', 'gopls', 'tsserver' }
|
local servers = { 'zls', 'gopls', 'tsserver', 'svelte' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
1
.config/nvim/pack/plugins/start/vim-svelte
Submodule
1
.config/nvim/pack/plugins/start/vim-svelte
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5f88e5a0fe7dcece0008dae3453edbd99153a042
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -25,3 +25,6 @@
|
||||||
[submodule ".config/nvim/pack/plugins/start/formatter.nvim"]
|
[submodule ".config/nvim/pack/plugins/start/formatter.nvim"]
|
||||||
path = .config/nvim/pack/plugins/start/formatter.nvim
|
path = .config/nvim/pack/plugins/start/formatter.nvim
|
||||||
url = https://github.com/mhartington/formatter.nvim
|
url = https://github.com/mhartington/formatter.nvim
|
||||||
|
[submodule ".config/nvim/pack/plugins/start/vim-svelte"]
|
||||||
|
path = .config/nvim/pack/plugins/start/vim-svelte
|
||||||
|
url = https://github.com/evanleck/vim-svelte
|
||||||
|
|
Loading…
Reference in a new issue