Snippets

Dan Bowling SystemD Unit Syntax File for Sublime

Created by Dan Bowling last modified
%YAML 1.2
---
name: Systemd
file_extensions: [service]
scope: source.c

contexts:
  main:
    - match: '^([A-Za-z]+(?=([\=][\-]?)))'
      scope: keyword.other
    - match: '([\=][\-]?)'
      scope: keyword.operator
    - match: '^\[[A-Za-z]+\]'
      scope: entity.name.section
    - match: '(\\\w)?'
      scope: entity.name
    - match: '\\'
      scope: constant.character.escape
    - match: '\#\w+'
      scope: comment.number-sign

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.