From bbd8c1d59ca4249a9477aece9d80cf3405c764a6 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 12 Apr 2022 21:16:46 +0200 Subject: fix: remove lua files --- lua/config/lsp/settings/jsonls.lua | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lua/config/lsp/settings/jsonls.lua (limited to 'lua/config/lsp') diff --git a/lua/config/lsp/settings/jsonls.lua b/lua/config/lsp/settings/jsonls.lua deleted file mode 100644 index 6372822..0000000 --- a/lua/config/lsp/settings/jsonls.lua +++ /dev/null @@ -1,25 +0,0 @@ --- A Json language server config. -local status_ok, schemastore = pcall(require, "schemastore") -if not status_ok then - return -end - -return { - init_options = { - provideFormatter = false, - }, - settings = { - json = { - schemas = schemastore.json.schemas(), - }, - }, - setup = { - commands = { - Format = { - function() - vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 }) - end, - }, - }, - }, -} -- cgit v1.2.3-70-g09d2