diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-08-14 00:48:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 00:48:44 +0900 |
| commit | ac062ecf708b28d10cc3275fcf9e18c736d568f4 (patch) | |
| tree | d80f5d1f469304bd625b4a8fd2c49085e24f3285 /config/nvim/lua/plugins/lsp-config.lua | |
| parent | f9ff441fe41e4af112411b4bef55bca98c2f7474 (diff) | |
| parent | 69a7793deddb102d9643d5ee047bde81ba25bcbd (diff) | |
Merge pull request #402 from JaKooLit/main
Main to AGS-Dev
Diffstat (limited to 'config/nvim/lua/plugins/lsp-config.lua')
| -rw-r--r-- | config/nvim/lua/plugins/lsp-config.lua | 25 |
1 files changed, 25 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 00000000..f41e7984 --- /dev/null +++ b/config/nvim/lua/plugins/lsp-config.lua @@ -0,0 +1,25 @@ +return { + { + "williamboman/mason.nvim", + config = function() + require("mason").setup() + end + }, + { + "williamboman/mason-lspconfig.nvim", + config = function() + require("mason-lspconfig").setup({ + ensure_installed = {"lua_ls", "clangd", "cmake", "cssls", "html"} + }) + end + }, + { + "neovim/nvim-lspconfig", + config = function() + local lspconfig = require("lspconfig") + lspconfig.lua_ls.setup({}) + vim.keymap.set('n', 'K', vim.lsp.buf.hover, {}) + end + } +} + |
