mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 10:05:37 +02:00
use lsp to format json
This commit is contained in:
parent
02865aba7b
commit
38a0668e4d
2 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,7 @@ require"lspconfig".efm.setup {
|
|||
-- init_options = {initializationOptions},
|
||||
cmd = {DATA_PATH .. "/lspinstall/efm/efm-langserver"},
|
||||
init_options = {documentFormatting = true, codeAction = false},
|
||||
filetypes = {"lua", "python", "javascriptreact", "javascript", "typescript","typescriptreact","sh", "html", "css", "json", "yaml", "markdown", "vue"},
|
||||
filetypes = {"lua", "python", "javascriptreact", "javascript", "typescript","typescriptreact","sh", "html", "css", "yaml", "markdown", "vue"},
|
||||
settings = {
|
||||
rootMarkers = {".git/"},
|
||||
languages = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue