summaryrefslogtreecommitdiff
path: root/lua/config/lsp
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 21:16:46 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 21:16:46 +0200
commitbbd8c1d59ca4249a9477aece9d80cf3405c764a6 (patch)
tree05139cb5e6a42d6e700e4dc440c5a57c27f164f9 /lua/config/lsp
parent82779fc7fbb42f5f97bf5840d3248ad84a63c095 (diff)
fix: remove lua files
Diffstat (limited to 'lua/config/lsp')
-rw-r--r--lua/config/lsp/settings/jsonls.lua25
1 files changed, 0 insertions, 25 deletions
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,
- },
- },
- },
-}