summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/setup/lspconfig.lua36
1 files changed, 33 insertions, 3 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua
index 7da3482..f93cff7 100644
--- a/.config/nvim/lua/setup/lspconfig.lua
+++ b/.config/nvim/lua/setup/lspconfig.lua
@@ -19,14 +19,44 @@ lspconfig.sumneko_lua.setup {
}
}
}
-
+lspconfig.clangd.setup {
+ on_attach = on_attach,
+}
lspconfig.rust_analyzer.setup {
on_attach = on_attach,
}
-
-lspconfig.clangd.setup {
+lspconfig.bashls.setup {
+ on_attach = on_attach,
+}
+lspconfig.dockerls.setup {
+ on_attach = on_attach,
+}
+lspconfig.yamlls.setup {
+ on_attach = on_attach,
+}
+lspconfig.html.setup {
+ on_attach = on_attach,
+}
+lspconfig.cssls.setup {
+ on_attach = on_attach,
+}
+lspconfig.marksman.setup {
+ on_attach = on_attach,
+}
+lspconfig.jsonls.setup {
+ on_attach = on_attach,
+}
+lspconfig.tsserver.setup {
+ on_attach = on_attach,
+}
+lspconfig.omnisharp.setup {
+ on_attach = on_attach,
+ use_mono = true,
+}
+lspconfig.texlab.setup {
on_attach = on_attach,
}
+vim.cmd("let g:tex_flavor = 'tex'")
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
for type, icon in pairs(signs) do