diff --git a/nvim/lua/plugins/lazydev.lua b/nvim/lua/plugins/lazydev.lua new file mode 100644 index 0000000..dbc5594 --- /dev/null +++ b/nvim/lua/plugins/lazydev.lua @@ -0,0 +1,14 @@ +return { + "folke/lazydev.nvim", + ft = "lua", -- only load on lua files + opts = { + library = { + -- See the configuration section for more details + -- Load luvit types when the `vim.uv` word is found + { path = "luvit-meta/library", words = { "vim%.uv" } }, + "lazy.nvim", + "plenary.nvim", + { path = "wezterm-types", mods = { "wezterm" } }, + }, + }, +} diff --git a/nvim/lua/plugins/mason.lua b/nvim/lua/plugins/mason.lua index f75c8e7..0fa606a 100644 --- a/nvim/lua/plugins/mason.lua +++ b/nvim/lua/plugins/mason.lua @@ -1,8 +1,15 @@ return { - "williamboman/mason.nvim", + "mason-org/mason.nvim", + version = "v1.32.0", dependencies = { - "williamboman/mason-lspconfig.nvim", - "WhoIsSethDaniel/mason-tool-installer.nvim", + { + "williamboman/mason-lspconfig.nvim", + version = "v1.32.0", + }, + { + "WhoIsSethDaniel/mason-tool-installer.nvim", + commit = "4aa03a08c3705e622f2e7886783fd450f7749cdd", + }, }, config = function() require("mason").setup() @@ -22,8 +29,8 @@ return { require("mason-tool-installer").setup({ ensure_installed = { - "stylua", -- lua formatter - "black", -- python formatter + "stylua", -- lua formatter + "black", -- python formatter 'lua-language-server', 'vim-language-server', 'gopls',