aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-09-09 23:57:20 +0300
committereug-vs <eugene@eug-vs.xyz>2021-09-10 00:03:04 +0300
commitf6d68fc38799e97e21b1385a2ef3cfd2ac65d64a (patch)
treeba943799fdfa5c0badcf1c35785702b2166edebd /nvim
parent4513b046c522d6aa31e98459d067d4e559e4aa28 (diff)
downloaddotfiles-f6d68fc38799e97e21b1385a2ef3cfd2ac65d64a.tar.gz
feat(nvim): add vue and rust language servers
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lua/lsp-config.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/.config/nvim/lua/lsp-config.lua b/nvim/.config/nvim/lua/lsp-config.lua
index f9189d7..cf31581 100644
--- a/nvim/.config/nvim/lua/lsp-config.lua
+++ b/nvim/.config/nvim/lua/lsp-config.lua
@@ -31,6 +31,17 @@ nvim_lsp.tsserver.setup {
flags = flags,
}
+-- Vue
+nvim_lsp.vuels.setup{
+ on_attach = on_attach,
+ flags = flags,
+}
+
+nvim_lsp.rust_analyzer.setup{
+ on_attach = on_attach,
+ flags = flags,
+}
+
-- Lua
local runtime_path = vim.split(package.path, ';')
table.insert(runtime_path, "lua/?.lua")