Skip to content

Fix(syntax): Add missing 'Persistent' keyword to systemd.yaml#4097

Open
MrLoLf wants to merge 1 commit into
micro-editor:masterfrom
MrLoLf:master
Open

Fix(syntax): Add missing 'Persistent' keyword to systemd.yaml#4097
MrLoLf wants to merge 1 commit into
micro-editor:masterfrom
MrLoLf:master

Conversation

@MrLoLf
Copy link
Copy Markdown

@MrLoLf MrLoLf commented May 16, 2026

Description

This PR adds the missing Persistent keyword to the systemd.yaml syntax definition file.

The Persistent= option is a crucial and widely used configuration setting in systemd timer units (e.g., to trigger missed jobs after system downtime). Currently, it remains unhighlighted (plain white text) while other timer directives like OnBootSec or OnCalendar are correctly recognized as statements.

Changes

  • Added Persistent| to the - statement: regular expression list inside runtime/syntax/systemd.yaml.

Tested locally and verified that Persistent=true now highlights correctly in systemd timer files.

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