feat: configure go lsp too

This commit is contained in:
əlemi 2024-05-15 18:49:35 +02:00
parent 3aa178165c
commit 6d84567a5e
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -208,6 +208,7 @@ return {
lspconfig.html.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.html.setup({capabilities=capabilities, on_attach=set_lsp_binds})
lspconfig.ruby_ls.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.ruby_ls.setup({capabilities=capabilities, on_attach=set_lsp_binds})
lspconfig.elixirls.setup({capabilites=capabilities, on_attach=set_lsp_binds, cmd= {"/usr/bin/elixir-ls"}}) lspconfig.elixirls.setup({capabilites=capabilities, on_attach=set_lsp_binds, cmd= {"/usr/bin/elixir-ls"}})
lspconfig.gopls.setup({capabilities=capabilities, on_attach=set_lsp_binds})
-- lspconfig.rust_analyzer.setup({capabilities=capabilities, on_attach=set_lsp_binds, settings = { ['rust-analyzer'] = { checkOnSave = { command = "clippy"}}}}) -- lspconfig.rust_analyzer.setup({capabilities=capabilities, on_attach=set_lsp_binds, settings = { ['rust-analyzer'] = { checkOnSave = { command = "clippy"}}}})
-- lspconfig.java_language_server.setup({capabilities=capabilities, on_attach=set_lsp_binds, cmd = { '/home/alemi/dev/software/java-language-server/dist/lang_server_linux.sh' }}) -- lspconfig.java_language_server.setup({capabilities=capabilities, on_attach=set_lsp_binds, cmd = { '/home/alemi/dev/software/java-language-server/dist/lang_server_linux.sh' }})
-- lspconfig.kotlin_language_server.setup({capabilities=capabilities, on_attach=set_lsp_binds}) -- lspconfig.kotlin_language_server.setup({capabilities=capabilities, on_attach=set_lsp_binds})