aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-10-31 04:09:45 +0300
committerawy <awy@awy.one>2024-10-31 04:09:45 +0300
commit86e69cc8debdd3ba2f0078294e7667590b1e68dd (patch)
tree37665f765197bd74ffaac1b83aa81acb1e8b7f42 /.config/nvim/lua/plugins
parent572d989566261fa7b7c8fa07553123b85822303d (diff)
lsp
Diffstat (limited to '.config/nvim/lua/plugins')
-rw-r--r--.config/nvim/lua/plugins/lsp-config.lua23
1 files changed, 23 insertions, 0 deletions
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
+ }
+}