diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua new file mode 100644 index 0000000..257353b --- /dev/null +++ b/nvim/lua/plugins/lsp.lua @@ -0,0 +1,15 @@ +return { + { + "neovim/nvim-lspconfig", + dependencies = { + "williamboman/mason.nvim", + "williamboman/mason-lspconfig.nvim", + }, + config = function() + require("mason").setup() + require("mason-lspconfig").setup({ + ensure_installed = { "rust_analyzer", "lua_ls", "pyright", "ts_ls" }, + }) + end, + }, +}