Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unit type recognition when file edited using systemctl edit cmd #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RayJameson
Copy link

@RayJameson RayJameson commented Nov 12, 2024

Hello! I like your language server, it's very helpful for a newbie in systemd unit files.
This PR fixes problem when you edit/create unit file using systemctl edit --full command

I want to point out that there is another bug, if you overriding service using systemctl edit command without --full argument, it's opens something like ~/.config/systemd/user/syncthing.service.d/.#override.confafc30fc0826930be. So figuring out unit type requires another approach.
It requires more changes to fix this bug than this PR and I'm not sure if you would accept them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant