aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-11-11 20:58:12 +0100
committerChristian Hesse <mail@eworm.de>2016-11-11 20:58:12 +0100
commit2e8d16c4b1c2835d4a1ccdbf0d9a89b630e8ad60 (patch)
tree6d9a85a8f26d3093b7bb36f4de12a1e0bf0b083a
parentb4a7c460ee2f7e2f3fbd505bb341be39780b51b1 (diff)
downloadvis-2e8d16c4b1c2835d4a1ccdbf0d9a89b630e8ad60.tar.gz
vis-2e8d16c4b1c2835d4a1ccdbf0d9a89b630e8ad60.tar.xz
lexers/fstab: add systemd-specific mount options
-rw-r--r--lexers/fstab.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lexers/fstab.lua b/lexers/fstab.lua
index cad633b..fd0df74 100644
--- a/lexers/fstab.lua
+++ b/lexers/fstab.lua
@@ -65,6 +65,15 @@ local keyword = token(l.KEYWORD, word_match({
'user',
'users',
+ -- mount options for systemd, see systemd.mount(5)
+ 'x-systemd.automount',
+ 'x-systemd.device-timeout',
+ 'x-systemd.idle-timeout',
+ 'x-systemd.mount-timeout',
+ 'x-systemd.requires',
+ 'x-systemd.requires-mounts-for',
+ 'x-initrd.mount',
+
-- mount options for adfs
'uid',
'gid',