mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 17:45:52 +02:00
Native LSP, more Lua, less CoC
This commit is contained in:
parent
56f65b12a4
commit
474f961b2a
39 changed files with 906 additions and 671 deletions
11
lua/lsp/json-ls.lua
Normal file
11
lua/lsp/json-ls.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- npm install -g vscode-json-languageserver
|
||||
require'lspconfig'.jsonls.setup {
|
||||
commands = {
|
||||
Format = {
|
||||
function()
|
||||
vim.lsp.buf.range_formatting({},{0,0},{vim.fn.line("$"),0})
|
||||
end
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue