-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice.syntax
54 lines (52 loc) · 2.17 KB
/
service.syntax
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# Systemd .service files syntax higlighter for MC Editor
#
# Author: Maxim Zhukov <mzhukov31415dev@gmail.com>
# GitHub repository: https://github.com/mzhukov1973/mcedit-syntax-highlighter-desktop
# Based on: https://standards.freedesktop.org/desktop-entry-spec/latest (version 1.2alpha from 2017-12-24)
#
# Created on: 2018-05-06
# Last updated on: 2018-05-07
# Version: 0.0.1
#
# License: MIT
#
# Changes in 0.0.1: Initial commit, first draft.
#
context default rgb333 base base
#Comment:
keyword linestart #*\n rgb220 base bold
#Group header:
keyword linestart [D-BUS\sService] rgb550 base bold
#Unknown group header:
keyword linestart [*] rgb522 base base
#Special symbols:
keyword = brightred base base
keyword ; magenta base base
keyword true rgb050 base bold
keyword false rgb050 base bold
#Entries:
# (Keys, recognized by FreeDesktop standard ver. 1.2:)
keyword linestart Name rgb044 base bold
keyword linestart Exec rgb044 base bold
keyword linestart SystemdService rgb044 base bold
keyword linestart AssumedAppArmorLabel rgb044 base bold
keyword linestart User rgb044 base bold
# (Keys, which ae clearly in use in GNOME/XFCE/KDE/Mate et al. (deprecated keys are pinkish):)
keyword linestart X-Ubuntu-Gettext-Domain rgb553 base bold
# (Well known values:)
keyword whole UTF-8 rgb151 base base
keyword whole UTF8 rgb151 base base
keyword whole unconfined rgb151 base base
# (Values, which ae clearly in use in GNOME/XFCE:)
keyword whole X-XFCE-Helper rgb553 base base
# (Keys, the rest:)
keyword linestart \[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-\] rgb011 base bold
# (Keys with locale postfix:)
# From "Localized values for keys":
# ...Keys with type localestring may be postfixed by [LOCALE], where LOCALE is the locale type of the entry.
# LOCALE must be of the form lang_COUNTRY.ENCODING@MODIFIER, where _COUNTRY, .ENCODING, and @MODIFIER may be omitted....
context [ ] rgb131 base bold
keyword _ rgb131 base bold
keyword @ rgb131 base bold
keyword \{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890\} rgb020 base base