move mason as dependency

This commit is contained in:
fiplox 2023-01-17 15:05:01 +01:00
parent 48ea64670c
commit 4e2fe68551
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@ local M = {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
name = 'lsp', name = 'lsp',
event = 'BufRead', event = 'BufRead',
dependencies = { 'hrsh7th/cmp-nvim-lsp' }, dependencies = { 'hrsh7th/cmp-nvim-lsp', 'williamboman/mason.nvim' },
} }
local tools = { local tools = {
@ -13,7 +13,6 @@ local tools = {
} }
function M.config() function M.config()
require 'mason'
local lspconfig = require 'lspconfig' local lspconfig = require 'lspconfig'
local opts = {} local opts = {}
local cmp_nvim_lsp = require 'cmp_nvim_lsp' local cmp_nvim_lsp = require 'cmp_nvim_lsp'