diff --git a/dots/.config/nvim/lua/plugins/configs/lsp.lua b/dots/.config/nvim/lua/plugins/configs/lsp.lua index e2f2b11f..4ba5028d 100644 --- a/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -440,6 +440,8 @@ return { }) lspconfig.texlab.setup({ + capabilities = lsp_capabilities, + on_attach = on_attach, settings = { texlab = { build = { @@ -482,6 +484,25 @@ return { }, }) + lspconfig.gopls.setup({ + capabilities = lsp_capabilities, + on_attach = on_attach, + settings = { + gopls = { + hints = { + assignVariableTypes = true, + compositeLiteralFields = true, + compositeLiteralTypes = true, + constantValues = true, + functionTypeParameters = true, + parameterNames = true, + rangeVariableTypes = true, + } + } + } + } + ) + -- NOTE: GENERIC LSP SERVERS for _, server in ipairs({ "clangd",