From 0b2551541517febe6b6777f912e08ced7cf9f07d Mon Sep 17 00:00:00 2001 From: Magnus Larsen Date: Tue, 30 Dec 2025 08:57:09 +0100 Subject: feat!: deprecate systemd_ls in favor of systemd_lsp #4262 --- lsp/systemd_ls.lua | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'lsp/systemd_ls.lua') diff --git a/lsp/systemd_ls.lua b/lsp/systemd_ls.lua index b93f68a9..7d9f975e 100644 --- a/lsp/systemd_ls.lua +++ b/lsp/systemd_ls.lua @@ -1,17 +1,8 @@ ---@brief --- ---- https://github.com/psacawa/systemd-language-server ---- ---- `systemd-language-server` can be installed via `pip`: ---- ```sh ---- pip install systemd-language-server ---- ``` ---- ---- Language Server for Systemd unit files +--- Renamed to [systemd_lsp](#systemd_lsp) + +vim.deprecate('systemd_ls', 'systemd_lsp', '2.0.0', 'nvim-lspconfig', false) ---@type vim.lsp.Config -return { - cmd = { 'systemd-language-server' }, - filetypes = { 'systemd' }, - root_markers = { '.git' }, -} +return vim.lsp.config.systemd_ls -- cgit v1.2.3-70-g09d2