nvim-config

Log | Files | Refs | Submodules | README

commit 8eb12a1f260c3d3061f8756d196be73638143e48
parent cd5f3a73540e3fe3f24018a8f3c14cfd6b5aee4e
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date:   Thu,  9 Jun 2022 14:24:33 +0200

fix(lsp): use system zk lsp

Diffstat:
Dafter/colors/dracula.vim | 0
Mlua/lsp_config.lua | 21+++++++++++----------
2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/after/colors/dracula.vim b/after/colors/dracula.vim diff --git a/lua/lsp_config.lua b/lua/lsp_config.lua @@ -120,6 +120,17 @@ local default_config = { capabilities = capabilities, on_attach = on_attach } local system_lsps = { hls = default_config, + ocamllsp = default_config, + + zk = { + on_attach = on_attach, + capabilities = capabilities, + cmd = { "zk", "lsp" }, + filetypes = {'markdown'}, + root_dir = function() + return vim.loop.cwd() + end, + } } for lname,config in pairs(system_lsps) do @@ -134,7 +145,6 @@ local lsps = { clangd = default_config, als = default_config, pylsp = default_config, - ocamllsp = default_config, rnix = default_config, vimls = default_config, @@ -244,15 +254,6 @@ local lsps = { }, }, }, - zk = { - on_attach = on_attach, - capabilities = capabilities, - cmd = { "zk", "lsp" }, - filetypes = {'markdown'}, - root_dir = function() - return vim.loop.cwd() - end, - } } for lname,config in pairs(lsps) do