diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-06 20:07:41 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-06 20:07:41 +0300 |
| commit | 39d19909525940cc16695ad3e7fcdb5812f744ac (patch) | |
| tree | 8d5ff9c51113eb02333597be8ec240fd150cf83a /.config/nvim/lua/custom/plugins/TODO-lsp.lua | |
| parent | 7166c238e8160fbffc219744b0fc96b96e889bd7 (diff) | |
Neovim: started rework on the conifg, changed a bunch of stuff
Diffstat (limited to '.config/nvim/lua/custom/plugins/TODO-lsp.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/TODO-lsp.lua | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/TODO-lsp.lua b/.config/nvim/lua/custom/plugins/TODO-lsp.lua new file mode 100644 index 0000000..74b9ed4 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/TODO-lsp.lua @@ -0,0 +1,48 @@ +return { + { + 'williamboman/mason.nvim', + lazy = false, + config = function() + require('mason').setup() + end, + }, + { + 'williamboman/mason-lspconfig.nvim', + lazy = false, + config = function() + require('mason-lspconfig').setup({ + ensure_installed = { + 'lua_ls', + 'clangd', + 'gradle_ls', + 'jdtls', + 'kotlin_language_server', + 'pyright', + 'rust_analyzer', + 'taplo', + 'bashls', + 'lemminx', + 'yamlls', + }, + }) + end, + }, + { + 'neovim/nvim-lspconfig', + lazy = false, + config = function() + local lspconfig = require('lspconfig') + lspconfig.lua_ls.setup({}) + lspconfig.clangd.setup({}) + lspconfig.gradle_ls.setup({}) + lspconfig.jdtls.setup({}) + lspconfig.kotlin_language_server.setup({}) + lspconfig.pyright.setup({}) + lspconfig.rust_analyzer.setup({}) + lspconfig.taplo.setup({}) + lspconfig.bashls.setup({}) + lspconfig.lemminx.setup({}) + lspconfig.yamlls.setup({}) + end, + }, +} |
