diff options
| author | Nicholas Moore <nicholasvmoore@gmail.com> | 2025-11-11 07:26:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-11 07:26:27 -0600 |
| commit | cd06e1ccdbfe74c9943d74b2bbcaa84d856ab6c5 (patch) | |
| tree | 32a469c7f3457b6a8bf29091704f30e18f1687b7 /nvim/.config | |
| parent | 9f228cbe76fc3ccfe65500f257980c78306f4370 (diff) | |
| parent | 47738cad48020fe21df15b23fe63d80ec2edf5e2 (diff) | |
Merge pull request #3 from nicholasvmoore/feature/refactoring
Updating lsp config
Diffstat (limited to 'nvim/.config')
| -rw-r--r-- | nvim/.config/nvim/init.lua | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 875c6da..543d1f7 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -398,8 +398,32 @@ require('lazy').setup({ -- Automatically install LSPs and related tools to stdpath for Neovim -- Mason must be loaded before its dependents so we need to set it up here. -- NOTE: `opts = {}` is the same as calling `require('mason').setup({})` - { 'williamboman/mason.nvim', opts = {} }, - 'williamboman/mason-lspconfig.nvim', + { + 'williamboman/mason.nvim', + opts = { + ui = { + icons = { + package_installed = '✓', + package_pending = '➜', + package_uninstalled = '✗', + }, + }, + }, + }, + { + 'williamboman/mason-lspconfig.nvim', + opts = { + ensure_installed = { + 'lua_ls', + 'ansible-language-server', + 'bash-language-server', + 'python-lsp-server', + 'clangd', + 'terraform_ls', + 'jinja_lsp', + }, + }, + }, 'WhoIsSethDaniel/mason-tool-installer.nvim', -- Useful status updates for LSP. |
