diff options
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/setup/lspconfig.lua | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua index f025d4a..0ec4913 100644 --- a/.config/nvim/lua/setup/lspconfig.lua +++ b/.config/nvim/lua/setup/lspconfig.lua @@ -19,23 +19,41 @@ lspconfig.sumneko_lua.setup { } } } - lspconfig.rust_analyzer.setup { on_attach = on_attach, } - --- local pid = vim.fn.getpid() --- local omnisharp_bin = "mono /home/adam/.local/share/nvim/lsp_servers/omnisharp/omnisharp-mono/OmniSharp.exe" +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, - -- cmd = { omnisharp_bin, "--languageserver", "--hostPID", tostring(pid) }, } - --- vim.cmd("let g:tex_flavor = 'tex'") --- 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 |