minor fixes

This commit is contained in:
Alexander Navarro 2024-08-08 16:52:14 -04:00
parent 39f2957baf
commit 9a5c5ff0bc
3 changed files with 8 additions and 6 deletions

View file

@ -4,13 +4,14 @@ return {
version = false, -- last release is way too old
event = "InsertEnter",
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"L3MON4D3/LuaSnip",
"davidsierradz/cmp-conventionalcommits",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-cmdline",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
"petertriho/cmp-git",
"hrsh7th/cmp-cmdline",
"saadparwaiz1/cmp_luasnip",
"L3MON4D3/LuaSnip",
"windwp/nvim-autopairs",
},
config = function()
@ -62,6 +63,7 @@ return {
}),
}),
sources = cmp.config.sources({
{ name = "conventionalcommits" },
{ name = "nvim_lsp" },
{ name = "luasnip" },
{ name = "buffer" },

View file

@ -132,6 +132,7 @@ return {
mason_lspconfig.setup({
ensure_installed = vim.tbl_keys(servers),
automatic_installation = { exclude = { "astro", "phpactor", "gopls", "rust_analyzer", "sqlls" } },
})
mason_lspconfig.setup_handlers({

View file

@ -1,7 +1,7 @@
return {
"williamboman/mason.nvim",
cmd = "Mason",
keys = { { "<leader>cm", "<cmd>Mason<cr>", desc = "Mason" } },
keys = { { "<leader>um", "<cmd>Mason<cr>", desc = "Mason" } },
build = ":MasonUpdate",
opts = {
ensure_installed = {
@ -13,7 +13,6 @@ return {
"prettierd",
"shellcheck",
"stylua",
"gofumpt", "golines", "goimports-reviser", "gopls"
},
},
}