json
This commit is contained in:
parent
8f87c0b271
commit
39f42594da
2 changed files with 17 additions and 15 deletions
2
init.lua
2
init.lua
|
|
@ -794,6 +794,7 @@ require('lazy').setup({
|
|||
local servers = {
|
||||
-- clangd = {},
|
||||
-- gopls = {},
|
||||
jsonls = {},
|
||||
zls = {
|
||||
cmd = { 'zls' },
|
||||
settings = {
|
||||
|
|
@ -937,6 +938,7 @@ require('lazy').setup({
|
|||
end,
|
||||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
json = { 'prettier' },
|
||||
-- Conform can also run multiple formatters sequentially
|
||||
-- python = { "isort", "black" },
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue