diff --git a/nvim/.config/nvim/lua/configs/conform.lua b/nvim/.config/nvim/lua/configs/conform.lua index fb2281d..6c2247f 100644 --- a/nvim/.config/nvim/lua/configs/conform.lua +++ b/nvim/.config/nvim/lua/configs/conform.lua @@ -5,6 +5,7 @@ return { css = { "prettier" }, html = { "prettier" }, jsonc = { "prettier" }, + go = { "golines" }, }, -- format_on_save = { diff --git a/nvim/.config/nvim/lua/configs/lspconfig.lua b/nvim/.config/nvim/lua/configs/lspconfig.lua index a304036..5532bee 100644 --- a/nvim/.config/nvim/lua/configs/lspconfig.lua +++ b/nvim/.config/nvim/lua/configs/lspconfig.lua @@ -4,7 +4,7 @@ require("nvchad.configs.lspconfig").defaults() local lspconfig = require "lspconfig" -- EXAMPLE -local servers = { "html", "cssls", "pyright" } +local servers = { "html", "cssls", "pyright", "clangd", "gopls" } local nvlsp = require "nvchad.configs.lspconfig" -- lsps with default config