lsps, linters, formatters, etc.

This commit is contained in:
Danny Wigg 2025-04-13 21:05:31 +01:00
parent 9d484f19d0
commit 30c74f5186
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions

View File

@ -630,8 +630,8 @@ require('lazy').setup({
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
-- clangd = {},
-- gopls = {},
-- pyright = {},
gopls = {},
pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
@ -662,6 +662,7 @@ require('lazy').setup({
format = false,
},
},
bashls = {},
}
-- Ensure the servers and tools above are installed
@ -737,7 +738,7 @@ require('lazy').setup({
typescript = { 'prettierd', stop_after_first = true },
typescriptreact = { 'prettierd', stop_after_first = true },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
python = { 'isort', 'black' },
--
-- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true },