diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-08-28 11:16:59 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-08-29 13:14:45 +0200 |
commit | 9a93a2b8b2de9e245407da876929029bc3016d85 (patch) | |
tree | 1c686f8ff91617a08865172727ff926d60ca9cdc /.config/nvim/lua | |
parent | c9ff2f5155cfad21ec77db98d314545de0c8f3cc (diff) |
nvim: enabled some LSP servers
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/setup/lspconfig.lua | 36 |
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 |