aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKris <101912712+kris3713@users.noreply.github.com>2025-12-20 13:55:50 -0700
committerGitHub <noreply@github.com>2025-12-20 15:55:50 -0500
commit44a2c98dafe26618f809e9e8d6a71d072e17502f (patch)
tree369647a9ba1ec3de3d4fd7a629113bff6ad5abe5
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.tar
nvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.tar.gz
nvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.tar.bz2
nvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.tar.lz
nvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.tar.xz
nvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.tar.zst
nvim-lspconfig-44a2c98dafe26618f809e9e8d6a71d072e17502f.zip
feat: systemd_lsp #4251
It's more up-to-date than systemd-language-server.
-rw-r--r--lsp/systemd_lsp.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/lsp/systemd_lsp.lua b/lsp/systemd_lsp.lua
new file mode 100644
index 00000000..61a66391
--- /dev/null
+++ b/lsp/systemd_lsp.lua
@@ -0,0 +1,20 @@
+---@brief
+---
+--- https://github.com/JFryy/systemd-lsp
+---
+--- A Language Server Protocol (LSP) implementation for Systemd unit files,
+--- providing editing support with syntax highlighting,
+--- diagnostics, autocompletion, and documentation.
+---
+--- `systemd-lsp` can be installed via `cargo`:
+--- ```sh
+--- cargo install systemd-lsp
+--- ```
+---
+--- A language server implementation for Systemd unit files made in Rust.
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'systemd-lsp' },
+ filetypes = { 'systemd' },
+}