Skip to content

Commit

Permalink
feat: systemd-language-server #3514
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau authored Mar 7, 2025
1 parent 84e0cd5 commit 69d2876
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lua/lspconfig/configs/systemd-language-server.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
return {
default_config = {
cmd = { 'systemd-language-server' },
filetypes = { 'systemd' },
root_dir = function(fname)
return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
end,
single_file_support = true,
},
docs = {
description = [[
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
]],
},
}

0 comments on commit 69d2876

Please sign in to comment.