From 031269e521486e9ed1c1fb514a088c451dd8364e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20M=C3=BCller?= Date: Tue, 7 Oct 2025 21:00:00 +0000 Subject: [PATCH] Add LSP config with Mason --- nvim/lua/plugins/lsp.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nvim/lua/plugins/lsp.lua 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, + }, +}