Mark Oteiza
077aedde23
systemd 244 directives
...
network stuff is getting split up across a bunch of different sections
which is annoying. dnssec files are a thing now as well. finding
a better way to do this would be nice
2019-12-19 18:01:39 -05:00
stardiviner
a9f82b1f8b
add systemd-mode company backend buffer locally
2019-11-17 11:14:46 -05:00
Mark Oteiza
c6e06dfa93
happy new year
2019-01-01 04:23:36 -05:00
Lucas Werkmeister
401d71c2dd
Add %E, %j, %J, %T, %V specifiers
...
These specifiers were added in systemd v239.
2018-06-29 17:06:22 -04:00
Lucas Werkmeister
21d50f27d8
Sort specifiers alphabetically
...
The systemd.unit(5) manpage sorts unit file specifiers alphabetically
since commit systemd/systemd@709f4c472c , and since the order in this
regular expression is even less relevant than in the manpage, let’s just
do the same to make it easy to compare the letter sets between the two.
2018-06-29 17:06:13 -04:00
Lucas Werkmeister
e97f78ee11
Add %S, %C, %L specifiers
...
These specifiers for the state, cache, and log directory root were added in systemd v236.
2018-04-14 14:11:36 -04:00
Mark Oteiza
228f0b99ca
happy new year
2018-01-01 21:03:40 -05:00
Mark Oteiza
22f024fe8f
systemd 235
2017-10-06 16:52:43 -04:00
Mark Oteiza
1e7567a997
prepare v1.6
v1.6
2017-09-18 20:49:18 -04:00
Mark Oteiza
70c762072d
add -pkg file to clean target
2017-09-18 20:47:03 -04:00
Mark Oteiza
23c0caf214
extend anchored matches past the current line if \ broken
2017-09-18 07:46:09 -04:00
Mark Oteiza
839094df0e
use rx here
2017-09-17 15:37:16 -04:00
Mark Oteiza
16ba942afd
rename tests directory
2017-09-17 15:08:47 -04:00
Mark Oteiza
47ae79aed0
Use syntax-propertize and font-lock-extend-region-functions
2017-09-17 14:50:12 -04:00
Mark Oteiza
a3d39214b7
extend multi-line matching to sections and keys
2017-09-11 09:25:09 -04:00
Mark Oteiza
5c9389dae3
move this matcher down with the other ones
2017-09-07 22:04:50 -04:00
Mark Oteiza
b0c1d64d62
add multi-line comment highlighting
...
between font-lock-keywords, the elisp manual, examples in the emacs
source (sh-mode is one) and the webernets, it is rather difficult to
find a way to properly deal with multi-line construct syntax
highlighting. this is a way leveraging anchored matching and
jit-lock.
2017-09-07 22:03:17 -04:00
Mark Oteiza
3ff4f0f706
anchor some matchers to follow "="
2017-09-07 21:59:33 -04:00
Mark Oteiza
a4f409641a
moar keywords
2017-09-07 21:57:46 -04:00
Mark Oteiza
995ebbe3d5
add conventional environment variable highlighting
2017-09-03 04:33:37 -04:00
Mark Oteiza
4c0ec1e599
split font-lock-keywords into levels
...
more importantly, bind systemd-font-lock-keywords to a _symbol_.
this makes hacking font-lock-keywords on the fly a little easier, in
addition to adding to customization/granularity
(info "(elisp) Font Lock Basics")
2017-09-03 04:29:03 -04:00
Mark Oteiza
7bb8f0969d
correct syntax?
2017-09-03 03:39:52 -04:00
Mark Oteiza
2c71ec5529
systemd 234.11
2017-07-27 08:04:54 -04:00
Mark Oteiza
9cfd315337
simplify
2017-07-08 18:34:46 -04:00
Mark Oteiza
28601d814f
woops
2017-07-08 18:02:26 -04:00
Mark Oteiza
930e82e5fe
font lock additional exec prefix
2017-07-07 21:33:41 -04:00
Mark Oteiza
9693935bdd
nix extra newline
2017-07-06 22:39:05 -04:00
Mark Oteiza
6884c8f9c6
systemd 233?
2017-07-06 21:12:20 -04:00
Mark Oteiza
4c1b2befd0
bump
v1.5
2017-02-02 21:44:22 -05:00
Mark Oteiza
a2c60f407a
happy belated new year
2017-02-02 21:44:00 -05:00
Mark Oteiza
59ce8ad415
simpler while test
2017-02-02 21:43:08 -05:00
Mark Oteiza
bd94a2cb97
shim in support for nspawn settings files
2017-01-22 20:45:01 -05:00
Mark Oteiza
b561c6bce9
happy new year
2017-01-01 00:03:40 -05:00
Mark Oteiza
fa1277d1cd
add reminder
...
The new regex is not too hard to generate with some set/combinatorics
fun, but perhaps going about this a different way would be better
(let ((s (delq nil (powerset '("@" "-" "+")))))
(concat "="
(regexp-opt
(mapcar (lambda (ls) (apply #'concat ls))
(apply #'append (mapcar #'permutations s)))
"\\(?1:")))
2016-12-02 01:17:46 -05:00
Mark Oteiza
4c073b0c04
missed one
2016-12-02 01:16:12 -05:00
Mark Oteiza
7874a102a5
future flycheck has a checker for units
2016-12-02 01:14:39 -05:00
Mark Oteiza
0a4b6c49d3
shrug
2016-12-02 01:14:06 -05:00
Mark Oteiza
bf7b281cdb
nix unneeded arg
2016-12-02 01:11:04 -05:00
Mark Oteiza
f0b29ad130
systemd v232 directives
2016-12-02 00:35:50 -05:00
Mark Oteiza
7769000ba6
bump to 0.4.1
v1.4.1
2016-09-28 22:56:56 -04:00
Mark Oteiza
a73c16aac0
nix LOCAL argument for adding to company-backends
2016-09-27 12:11:38 -04:00
Mark Oteiza
16be18350c
don't indiscriminately use relative file name
2016-09-27 12:07:08 -04:00
Mark Oteiza
a1633c271d
systemd 231 directives
2016-07-31 19:30:39 -04:00
Mark Oteiza
0e793b05e2
put the quotes back. faces are symbols
...
font-lock.el is an exception wrt defvar'ing faces, not the rule
2016-06-28 23:48:17 -04:00
Mark Oteiza
2e1f7394f1
update readme
2016-06-12 00:44:49 -04:00
Mark Oteiza
a08af4c52b
systemd 230 directives
2016-06-12 00:43:45 -04:00
Mark Oteiza
b03e616f0d
bump
v1.4
2016-05-14 10:15:10 -04:00
Mark Oteiza
fe443ac8ca
use font-lock-defaults to disable syntax highlighting
2016-05-12 20:25:07 -04:00
Mark Oteiza
378eb3642c
nix some quotes. use some rx
2016-05-10 01:09:31 -04:00
Mark Oteiza
63d64ad4e6
generate directive lists from files
2016-05-07 15:49:25 -04:00