lsps, linters, formatters, etc.
This commit is contained in:
parent
9d484f19d0
commit
30c74f5186
7
init.lua
7
init.lua
|
@ -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/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
local servers = {
|
local servers = {
|
||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
-- gopls = {},
|
gopls = {},
|
||||||
-- pyright = {},
|
pyright = {},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||||
--
|
--
|
||||||
|
@ -662,6 +662,7 @@ require('lazy').setup({
|
||||||
format = false,
|
format = false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
bashls = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Ensure the servers and tools above are installed
|
-- Ensure the servers and tools above are installed
|
||||||
|
@ -737,7 +738,7 @@ require('lazy').setup({
|
||||||
typescript = { 'prettierd', stop_after_first = true },
|
typescript = { 'prettierd', stop_after_first = true },
|
||||||
typescriptreact = { 'prettierd', stop_after_first = true },
|
typescriptreact = { 'prettierd', stop_after_first = true },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- 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
|
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||||
-- javascript = { "prettierd", "prettier", stop_after_first = true },
|
-- javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
|
Loading…
Reference in New Issue