From 2e8d16c4b1c2835d4a1ccdbf0d9a89b630e8ad60 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 11 Nov 2016 20:58:12 +0100 Subject: lexers/fstab: add systemd-specific mount options --- lexers/fstab.lua | 9 +++++++++ 1 file changed, 9 insertions(+) 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', -- cgit v1.2.3