all repos

init.lua @ c9e7c52656e1dc0ea75ccffddf2ca0d9aeaa0752

my nvim config
2 files changed, 9 insertions(+), 5 deletions(-)
feat(plugins): move mason to lsp plugins, and make it update stuff after :Lazy sync
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2023-07-21 19:22:41 +0300
Parent: 97d3f96
M lua/plugins.lua

@@ -17,9 +17,4 @@ "folke/todo-comments.nvim",

event = "BufRead", config = true, }, - { - "williamboman/mason.nvim", - event = "VimEnter", - config = true, - }, }
M lua/plugins/lsp/init.lua

@@ -26,6 +26,15 @@ },

} end, }, + { + "williamboman/mason.nvim", + config = true, + build = function() + pcall(function() + vim.cmd "MasonUpdate" + end) + end, + }, }, config = function() require("plugins.lsp.diagnostic").setup()