vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit c483e5382a0cefe996c73be42a49cc099e4849ed
parent 5b1f5f79144818600d3923acf9a01a500b0784a0
Author: Christian Hesse <mail@eworm.de>
Date:   Fri, 11 Nov 2016 20:58:12 +0100

lexers/fstab: add systemd-specific mount options

Diffstat:
Mlexers/fstab.lua | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git 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',