diff options
author | awy <awy@awy.one> | 2024-10-31 04:09:45 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-10-31 04:09:45 +0300 |
commit | 86e69cc8debdd3ba2f0078294e7667590b1e68dd (patch) | |
tree | 37665f765197bd74ffaac1b83aa81acb1e8b7f42 /.config/nvim/lua | |
parent | 572d989566261fa7b7c8fa07553123b85822303d (diff) |
lsp
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/plugins/lsp-config.lua | 23 |
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 + } +} |