From ff1dfffa04302ee794ae30717bb7cd033a511346 Mon Sep 17 00:00:00 2001 From: Tomas Gareau Date: Fri, 3 Jan 2025 11:06:06 -0600 Subject: [PATCH] docs: tweak comments per review feedback --- init.lua | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/init.lua b/init.lua index 57009557..610018e8 100644 --- a/init.lua +++ b/init.lua @@ -457,16 +457,9 @@ require('lazy').setup({ 'neovim/nvim-lspconfig', dependencies = { -- Automatically install LSPs and related tools to stdpath for Neovim - { - 'williamboman/mason.nvim', - -- Mason must be loaded before its dependents so we'll define `opts` - -- here: this will make `lazy` automatically run - -- `require('mason').setup(opts)` when `nvim-lspconfig` loads. - opts = { - -- Add overrides for mason's default settings here if needed! e.g.: - -- log_level = vim.log.levels.DEBUG, - }, - }, + -- Mason must be loaded before its dependents so we need to set it up here. + -- NOTE: `opts = {}` is the same as calling `require('mason').setup({})` + { 'williamboman/mason.nvim', opts = {} }, 'williamboman/mason-lspconfig.nvim', 'WhoIsSethDaniel/mason-tool-installer.nvim',