dotfiles/home/.config/systemd/user/nvim-headless.service

12 lines
206 B
SYSTEMD
Raw Normal View History

2024-01-24 10:06:34 +02:00
[Unit]
Description=Neovim headless server
[Service]
Type=simple
ExecStart=/bin/bash --login -c 'nvim --headless --listen %h/.var/nvim.socket'
Restart=always
RestartSec=1
[Install]
WantedBy=default.target