From 9afe7c8431f4f512d0b65c49b92967ed791d3333 Mon Sep 17 00:00:00 2001 From: Ray Jameson <67468725+RayJameson@users.noreply.github.com> Date: Sat, 12 Oct 2024 05:19:35 +0500 Subject: [PATCH] fix(systemd): very stupid mistake I put condition thinking it would only affect loading of config for `systemd_ls` but it actually affects the whole astrolp >_< --- lua/plugins/lsp/config/systemd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/lsp/config/systemd.lua b/lua/plugins/lsp/config/systemd.lua index 3ba15ca..52c2929 100644 --- a/lua/plugins/lsp/config/systemd.lua +++ b/lua/plugins/lsp/config/systemd.lua @@ -1,7 +1,7 @@ +if not vim.fn.executable("systemd-language-server") then return {} end ---@type LazySpec return { "AstroNvim/astrolsp", - cond = vim.fn.executable("systemd-language-server") == 1, ---@param opts AstroLSPOpts opts = function(_, opts) opts.servers = opts.servers or {}