diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 52bb08b..4a3bed9 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -44,7 +44,7 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', opts) end -local servers = { 'zls', 'gopls', 'tsserver' } +local servers = { 'zls', 'gopls', 'tsserver', 'svelte' } for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { on_attach = on_attach, diff --git a/.config/nvim/pack/plugins/start/vim-svelte b/.config/nvim/pack/plugins/start/vim-svelte new file mode 160000 index 0000000..5f88e5a --- /dev/null +++ b/.config/nvim/pack/plugins/start/vim-svelte @@ -0,0 +1 @@ +Subproject commit 5f88e5a0fe7dcece0008dae3453edbd99153a042 diff --git a/.gitmodules b/.gitmodules index 68c30af..b1685d8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -25,3 +25,6 @@ [submodule ".config/nvim/pack/plugins/start/formatter.nvim"] path = .config/nvim/pack/plugins/start/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