aboutsummaryrefslogtreecommitdiffstats
path: root/lsp
diff options
context:
space:
mode:
authorMagnus Larsen <magnusfynbo+github@pm.me>2025-12-30 08:57:09 +0100
committerGitHub <noreply@github.com>2025-12-30 02:57:09 -0500
commit0b2551541517febe6b6777f912e08ced7cf9f07d (patch)
tree3f9bf71e4d070b7c651b300158694420289d5f73 /lsp
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.tar
nvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.tar.gz
nvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.tar.bz2
nvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.tar.lz
nvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.tar.xz
nvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.tar.zst
nvim-lspconfig-0b2551541517febe6b6777f912e08ced7cf9f07d.zip
feat!: deprecate systemd_ls in favor of systemd_lsp #4262
Diffstat (limited to 'lsp')
-rw-r--r--lsp/systemd_ls.lua17
1 files changed, 4 insertions, 13 deletions
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