|
@@ -183,11 +183,13 @@ local opts = {
|
|
|
schemas = extended_schemas,
|
|
|
},
|
|
|
},
|
|
|
- commands = {
|
|
|
- Format = {
|
|
|
- function()
|
|
|
- vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 })
|
|
|
- end,
|
|
|
+ setup = {
|
|
|
+ commands = {
|
|
|
+ Format = {
|
|
|
+ function()
|
|
|
+ vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 })
|
|
|
+ end,
|
|
|
+ },
|
|
|
},
|
|
|
},
|
|
|
}
|