diff options
author | mhsn <mail@mhsn.net> | 2025-01-22 00:44:19 +0000 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2025-01-22 00:44:19 +0000 |
commit | dc17ab2fb051efceafddc3b97ebe9f67c775e9b7 (patch) | |
tree | b9c65af3f8d64f1bd5f48488afd69f2596ab4dec /lua/plugins/mason.lua | |
parent | c0ee49298161bccb75b9e23ed64fe80aacec2fd4 (diff) | |
download | nvim-dc17ab2fb051efceafddc3b97ebe9f67c775e9b7.tar.gz nvim-dc17ab2fb051efceafddc3b97ebe9f67c775e9b7.zip |
split plugins into separate files and other changes
Diffstat (limited to 'lua/plugins/mason.lua')
-rw-r--r-- | lua/plugins/mason.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua new file mode 100644 index 0000000..01132d7 --- /dev/null +++ b/lua/plugins/mason.lua @@ -0,0 +1,20 @@ +return { + { "neovim/nvim-lspconfig" }, + { + "williamboman/mason.nvim", + opts = {}, + }, + { + "williamboman/mason-lspconfig.nvim", + dependencies = { "mason.nvim" }, + config = function() + require("mason-lspconfig").setup({ + handlers = { + function(lsp) + require("lspconfig")[lsp].setup({}) + end, + }, + }) + end, + }, +} |