Native LSP, more Lua, less CoC

This commit is contained in:
Christian Chiarulli 2021-03-09 23:55:11 -05:00 committed by GitHub
parent 56f65b12a4
commit 474f961b2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 906 additions and 671 deletions

11
lua/lsp/json-ls.lua Normal file
View 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
}
}
}