diff options
| author | Wayne-Cole <77279425+Wacky404@users.noreply.github.com> | 2023-12-04 18:01:39 -0600 |
|---|---|---|
| committer | Wayne-Cole <77279425+Wacky404@users.noreply.github.com> | 2023-12-04 18:01:39 -0600 |
| commit | 0bf6604130eac4086484426c867dc6c88df932d8 (patch) | |
| tree | 263bee9b3dceebf5f79ba7ca58a53b8d517254cf | |
| parent | 2320dc49439fa8c44b8f88fcd6595529199ff7d1 (diff) | |
| download | wackys-dev-env-0bf6604130eac4086484426c867dc6c88df932d8.tar.xz wackys-dev-env-0bf6604130eac4086484426c867dc6c88df932d8.zip | |
update: lsp config
| -rw-r--r-- | .config/nvim/lua/cole/plugins/lsp/mason.lua | 1 | ||||
| -rw-r--r-- | .config/nvim/lua/cole/plugins/lsp/null-ls.lua | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/cole/plugins/lsp/mason.lua b/.config/nvim/lua/cole/plugins/lsp/mason.lua index a8e6d46..ce7e7d9 100644 --- a/.config/nvim/lua/cole/plugins/lsp/mason.lua +++ b/.config/nvim/lua/cole/plugins/lsp/mason.lua @@ -44,6 +44,7 @@ mason_null_ls.setup({ -- list of formatters & linters & adapters for mason to install ensure_installed = { "black", -- python code formatter + "pylint", -- python linter "stylua", -- lua formatter "cpplint", -- cpp linter "codespell", -- spellings linter diff --git a/.config/nvim/lua/cole/plugins/lsp/null-ls.lua b/.config/nvim/lua/cole/plugins/lsp/null-ls.lua index 5432914..747c85c 100644 --- a/.config/nvim/lua/cole/plugins/lsp/null-ls.lua +++ b/.config/nvim/lua/cole/plugins/lsp/null-ls.lua @@ -16,8 +16,10 @@ null_ls.setup({ -- setup formatters & linters sources = { formatting.black, -- python formatter + diagnostics.pylint, -- python linter formatting.stylua, -- lua formatter diagnostics.cpplint, -- cpp linter + diagnostics.codespell, -- spell check linter }, -- configure format on save |
