{"repo":"JFryy/systemd-lsp","free":true,"listed":false,"github":"https://github.com/JFryy/systemd-lsp","clone":"git clone https://github.com/JFryy/systemd-lsp.git","description":"language server for systemd unit files - embedded documentation + complete LSP implementation in rust.","language":"Rust","stars":451,"topics":["language-server","linux","rust","rust-lang","systemd","visual-studio-code","neovim-plugin"],"license":"MIT","category":"dev-tools","readme_excerpt":"systemd-lsp A Language Server Protocol (LSP) implementation for systemd unit files, providing editing support with syntax highlighting, diagnostics, autocompletion, and documentation. Features Core Language Server Features - Syntax Analysis - Complete parsing of systemd unit file structure - Context Aware - Context aware automcompletion for directives for corresponding sections - Diagnostics - Error detection and validation for sections, directives, directive fields and warnings for non-conventional configurations - Autocompletion - Context-aware suggestions for sections and directives - Rich Documentation - Comprehensive hover information and goto definition - Code Formatting - Formatting of unit files Installation Prerequisites - Rust toolchain (install via rustup) Install via Cargo The binary will be installed to /.cargo/bin/systemd-lsp (or %USERPROFILE%\\.cargo\\bin\\systemd-lsp on Windows). Building from source The binary will be available at target/release/systemd-lsp . Compilation The project is built using Cargo, Rust's package manager. The --release flag optimizes the build for performance. For development, you can use cargo build for faster compilation times with debug information. Usage Neovim Add this configuration to your Neovim setup: Vim With LSP, add to your vimrc Emacs Replace /path/to/systemd-lsp with the actual path to your built binary. Helix Works out of the box, just make sure the systemd-lsp binary is in your PATH variable. Verify that Helix detects system","default_branch":null,"files":null,"tree":[],"storefront":"/r/JFryy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JFryy/systemd-lsp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}