mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-08-18 16:28:39 +02:00
enc: move lsp config to auto-lsp.nvim
This commit is contained in:
parent
5f766a5717
commit
c09e320633
22 changed files with 253 additions and 293 deletions
19
lua/user/lsp/settings_backup/jsonls.lua
Normal file
19
lua/user/lsp/settings_backup/jsonls.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
settings = {
|
||||
json = {
|
||||
schemas = require("schemastore").json.schemas(),
|
||||
},
|
||||
},
|
||||
setup = {
|
||||
commands = {
|
||||
Format = {
|
||||
function()
|
||||
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line("$"), 0 })
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
init_options = {
|
||||
provideFormatter = false,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue