all repos

init.lua @ fa3bf83

my nvim config
1 files changed, 11 insertions(+), 18 deletions(-)
refactor(lsp): make plugins declarations prettier
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-05-21 00:11:35 +0300
Parent: 2f89f46
M lua/plugins/lsp/init.lua

@@ -24,24 +24,17 @@ },

{ "RRethy/vim-illuminate", dependencies = { "nvim-lspconfig" }, - config = function() - require("illuminate").configure { - providers = { "lsp", "treesitter" }, - filetypes_denylist = { - "NvimTree", - "packer", - "NeogitStatus", - "TelescopePrompt", - }, - } - end, - }, - { - "williamboman/mason.nvim", - config = true, - cmd = "MasonUpdate", - build = function() - pcall(vim.cmd.MasonUpdate()) + opts = { + providers = { "lsp", "treesitter" }, + filetypes_denylist = { + "NvimTree", + "packer", + "NeogitStatus", + "TelescopePrompt", + }, + }, + config = function(_, opts) + require("illuminate").configure(opts) end, }, },