Skip to content

Commit c32c5fd

Browse files
committed
fix: lsp settings
1 parent 0e398be commit c32c5fd

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require("mason-lspconfig").setup({
2+
automatic_enable = true,
3+
})

nvim/lua/plugins/specs/cmp/nvim-cmp.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ return {
6161
-- { name = "luasnip" }, -- For luasnip users.
6262
-- { name = "ultisnips" }, -- For ultisnips users.
6363
-- { name = "snippy" }, -- For snippy users.
64+
}, {
65+
{ name = "nvim_lua" },
6466
}, {
6567
{ name = "buffer" },
6668
}),

nvim/lua/plugins/specs/lsp/mason-lspconfig.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ return {
44
"mason-org/mason.nvim",
55
"neovim/nvim-lspconfig",
66
},
7+
config = function()
8+
require("plugins.config.lsp.mason-lspconfig")
9+
end,
710
}

0 commit comments

Comments
 (0)