diff options
Diffstat (limited to 'lua/alpha/lsp/servers/jsonls.lua')
| -rw-r--r-- | lua/alpha/lsp/servers/jsonls.lua | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lua/alpha/lsp/servers/jsonls.lua b/lua/alpha/lsp/servers/jsonls.lua deleted file mode 100644 index 9c731ab..0000000 --- a/lua/alpha/lsp/servers/jsonls.lua +++ /dev/null @@ -1,14 +0,0 @@ -local lsp_attach = require "alpha.lsp.attach" -local lsp_flags = require "alpha.lsp.flags" - -return function(ops) - local config = { - on_attach = lsp_attach, - flags = lsp_flags, - } - if vim.fn.executable "json-languageserver" == 1 then - config.cmd = { "json-languageserver", "--stdio" } - end - - return vim.tbl_extend("force", config, ops) -end |