Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add systemd .service and .socket to ini lexer
I think these should be pretty un-ambigous. There are more
systemd-related file extensions, but I'm less sure about them, so I left
them out.

Ref: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
  • Loading branch information
silverwind authored and alecthomas committed Nov 14, 2022
1 parent f07788e commit 740e4b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lexers/embedded/ini.xml
Expand Up @@ -7,6 +7,8 @@
<filename>*.ini</filename>
<filename>*.cfg</filename>
<filename>*.inf</filename>
<filename>*.service</filename>
<filename>*.socket</filename>
<filename>.gitconfig</filename>
<filename>.editorconfig</filename>
<filename>pylintrc</filename>
Expand Down

0 comments on commit 740e4b8

Please sign in to comment.