mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
fix: move jsonls commands under setup (#1685)
This commit is contained in:
parent
e2df61f256
commit
5fef931d87
1 changed files with 7 additions and 5 deletions
|
@ -183,11 +183,13 @@ local opts = {
|
||||||
schemas = extended_schemas,
|
schemas = extended_schemas,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
commands = {
|
setup = {
|
||||||
Format = {
|
commands = {
|
||||||
function()
|
Format = {
|
||||||
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 })
|
function()
|
||||||
end,
|
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 })
|
||||||
|
end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue