Skip to content

Commit

Permalink
re-add mason, but use less shit
Browse files Browse the repository at this point in the history
  • Loading branch information
wrapperup committed Jan 24, 2025
1 parent cf3773d commit 12e4aaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 6 additions & 11 deletions lua/wrap/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,12 @@ require('lazy').setup({
{ 'numToStr/Comment.nvim' },

-- lsp
{'neovim/nvim-lspconfig'},
{'hrsh7th/cmp-nvim-lsp'},
{'hrsh7th/nvim-cmp'},
-- { 'L3MON4D3/LuaSnip', event = "VeryLazy" },
{ -- Optional
'williamboman/mason.nvim',
build = function()
pcall(vim.cmd, 'MasonUpdate')
end,
},
{ 'williamboman/mason-lspconfig.nvim' }, -- Optional
{ "neovim/nvim-lspconfig" },
{ "hrsh7th/cmp-nvim-lsp" },
{ "hrsh7th/nvim-cmp" },
-- { "L3MON4D3/LuaSnip" },
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },

{
"ray-x/lsp_signature.nvim",
Expand Down
2 changes: 2 additions & 0 deletions lua/wrap/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ require("conform").setup({
},
})

require("mason").setup()

local lspconfig = require('lspconfig')

lspconfig.ols.setup {}
Expand Down

0 comments on commit 12e4aaf

Please sign in to comment.