From 86e69cc8debdd3ba2f0078294e7667590b1e68dd Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 31 Oct 2024 04:09:45 +0300 Subject: lsp --- .config/nvim/lua/plugins/lsp-config.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .config/nvim/lua/plugins/lsp-config.lua (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins/lsp-config.lua b/.config/nvim/lua/plugins/lsp-config.lua new file mode 100644 index 0000000..cb40c4e --- /dev/null +++ b/.config/nvim/lua/plugins/lsp-config.lua @@ -0,0 +1,23 @@ +return { + { + "williamboman/mason.nvim", + config = function() + require("mason").setup() + end + }, + { + "williamboman/mason-lspconfig.nvim", + config = function() + require("mason-lspconfig").setup({ + ensure_installed = { "lua_ls" } + }) + end + }, + { + "neovim/nvim-lspconfig", + config = function() + local lspconfig = require("lspconfig") + lspconfig.lua_ls.setup({}) + end + } +} -- cgit v1.2.3