From 9a93a2b8b2de9e245407da876929029bc3016d85 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:16:59 +0200 Subject: nvim: enabled some LSP servers --- .config/nvim/lua/setup/lspconfig.lua | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to '.config/nvim') 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 -- cgit v1.2.3-70-g09d2