Mercurial > vim
annotate runtime/syntax/fstab.vim @ 28813:3626ca6a20ea v8.2.4930
patch 8.2.4930: interpolated string expression requires escaping
Commit: https://github.com/vim/vim/commit/0abc2871c105882ed1c1effb9a7757fad8a395bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 10 13:24:30 2022 +0100
patch 8.2.4930: interpolated string expression requires escaping
Problem: Interpolated string expression requires escaping.
Solution: Do not require escaping in the expression.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 May 2022 14:30:04 +0200 |
parents | 15fa3923cc49 |
children | e5e95e8c78a7 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
834 | 2 " Language: fstab file |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
3 " Maintainer: Radu Dineiu <radu.dineiu@gmail.com> |
23466 | 4 " URL: https://raw.github.com/rid9/vim-fstab/master/syntax/fstab.vim |
5 " Last Change: 2020 Dec 30 | |
21676 | 6 " Version: 1.4 |
1118 | 7 " |
8 " Credits: | |
9 " David Necas (Yeti) <yeti@physics.muni.cz> | |
10 " Stefano Zacchiroli <zack@debian.org> | |
11 " Georgi Georgiev <chutz@gg3.net> | |
1618 | 12 " James Vega <jamessan@debian.org> |
2034 | 13 " Elias Probst <mail@eliasprobst.eu> |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
14 |
1118 | 15 " Options: |
16 " let fstab_unknown_fs_errors = 1 | |
17 " highlight unknown filesystems as errors | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
18 " |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
19 " let fstab_unknown_device_errors = 0 |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
20 " do not highlight unknown devices as errors |
7 | 21 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
22 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
23 if exists("b:current_syntax") |
7 | 24 finish |
25 endif | |
26 | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
27 let s:cpo_save = &cpo |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
28 set cpo&vim |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
29 |
7 | 30 " General |
31 syn cluster fsGeneralCluster contains=fsComment | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
32 syn match fsComment /\s*#.*/ contains=@Spell |
1618 | 33 syn match fsOperator /[,=:#]/ |
7 | 34 |
35 " Device | |
36 syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError | |
1118 | 37 syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
38 syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs sysfs usbfs |
7 | 39 syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel |
1118 | 40 syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID |
12826 | 41 syn keyword fsDeviceKeyword contained PARTLABEL nextgroup=fsDevicePARTLABEL |
42 syn keyword fsDeviceKeyword contained PARTUUID nextgroup=fsDevicePARTUUID | |
1618 | 43 syn keyword fsDeviceKeyword contained sshfs nextgroup=fsDeviceSshfs |
1118 | 44 syn match fsDeviceKeyword contained /^[a-zA-Z0-9.\-]\+\ze:/ |
7 | 45 syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator |
1118 | 46 syn match fsDeviceUUID contained /=[^ \t]\+/hs=s+1 contains=fsOperator |
12826 | 47 syn match fsDevicePARTLABEL contained /=[^ \t]\+/hs=s+1 contains=fsOperator |
48 syn match fsDevicePARTUUID contained /=[^ \t]\+/hs=s+1 contains=fsOperator | |
1618 | 49 syn match fsDeviceSshfs contained /#[_=[:alnum:]\.\/+-]\+@[a-z0-9._-]\+\a\{2}:[^ \t]\+/hs=s+1 contains=fsOperator |
7 | 50 |
51 " Mount Point | |
52 syn cluster fsMountPointCluster contains=fsMountPointKeyword,fsMountPointError | |
1118 | 53 syn match fsMountPointError /\%([^ \ta-zA-Z0-9_\/#@\.-]\|\s\+\zs\w\{-}\ze\s\)/ contained |
7 | 54 syn keyword fsMountPointKeyword contained none swap |
55 | |
56 " Type | |
834 | 57 syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeUnknown |
58 syn match fsTypeUnknown /\s\+\zs\w\+/ contained | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
59 syn keyword fsTypeKeyword contained adfs ados affs anon_inodefs atfs audiofs auto autofs bdev befs bfs btrfs binfmt_misc cd9660 cfs cgroup cifs coda configfs cpuset cramfs devfs devpts devtmpfs e2compr efs ext2 ext2fs ext3 ext4 fdesc ffs filecore fuse fuseblk fusectl hfs hpfs hugetlbfs iso9660 jffs jffs2 jfs kernfs lfs linprocfs mfs minix mqueue msdos ncpfs nfs nfsd nilfs2 none ntfs null nwfs overlay ovlfs pipefs portal proc procfs pstore ptyfs qnx4 reiserfs ramfs romfs securityfs shm smbfs squashfs sockfs sshfs std subfs swap sysfs sysv tcfs tmpfs udf ufs umap umsdos union usbfs userfs vfat vs3fs vxfs wrapfs wvfs xenfs xfs zisofs |
7 | 60 |
61 " Options | |
62 " ------- | |
63 " Options: General | |
834 | 64 syn cluster fsOptionsCluster contains=fsOperator,fsOptionsGeneral,fsOptionsKeywords,fsTypeUnknown |
7 | 65 syn match fsOptionsNumber /\d\+/ |
66 syn match fsOptionsNumberOctal /[0-8]\+/ | |
67 syn match fsOptionsString /[a-zA-Z0-9_-]\+/ | |
68 syn keyword fsOptionsYesNo yes no | |
69 syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck | |
70 syn keyword fsOptionsSize 512 1024 2048 | |
21676 | 71 syn keyword fsOptionsGeneral async atime auto bind current defaults dev devgid devmode devmtime devuid dirsync exec force fstab kudzu loop mand move noatime noauto noclusterr noclusterw nodev nodevmtime nodiratime noexec nomand norelatime nosuid nosymfollow nouser owner rbind rdonly relatime remount ro rq rw suid suiddir supermount sw sync union update user users wxallowed xx nofail failok |
7 | 72 syn match fsOptionsGeneral /_netdev/ |
73 | |
74 " Options: adfs | |
834 | 75 syn match fsOptionsKeywords contained /\<\%([ug]id\|o\%(wn\|th\)mask\)=/ nextgroup=fsOptionsNumber |
7 | 76 |
77 " Options: affs | |
834 | 78 syn match fsOptionsKeywords contained /\<\%(set[ug]id\|mode\|reserved\)=/ nextgroup=fsOptionsNumber |
79 syn match fsOptionsKeywords contained /\<\%(prefix\|volume\|root\)=/ nextgroup=fsOptionsString | |
80 syn match fsOptionsKeywords contained /\<bs=/ nextgroup=fsOptionsSize | |
7 | 81 syn keyword fsOptionsKeywords contained protect usemp verbose |
82 | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
83 " Options: btrfs |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
84 syn match fsOptionsKeywords contained /\<\%(subvol\|subvolid\|subvolrootid\|device\|compress\|compress-force\|fatal_errors\)=/ nextgroup=fsOptionsString |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
85 syn match fsOptionsKeywords contained /\<\%(max_inline\|alloc_start\|thread_pool\|metadata_ratio\|check_int_print_mask\)=/ nextgroup=fsOptionsNumber |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
86 syn keyword fsOptionsKeywords contained degraded nodatasum nodatacow nobarrier ssd ssd_spread noacl notreelog flushoncommit space_cache nospace_cache clear_cache user_subvol_rm_allowed autodefrag inode_cache enospc_debug recovery check_int check_int_data skip_balance discard |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
87 |
7 | 88 " Options: cd9660 |
89 syn keyword fsOptionsKeywords contained extatt gens norrip nostrictjoilet | |
90 | |
91 " Options: devpts | |
92 " -- everything already defined | |
93 | |
94 " Options: ext2 | |
834 | 95 syn match fsOptionsKeywords contained /\<check=*/ nextgroup=@fsOptionsCheckCluster |
96 syn match fsOptionsKeywords contained /\<errors=/ nextgroup=fsOptionsExt2Errors | |
97 syn match fsOptionsKeywords contained /\<\%(res[gu]id\|sb\)=/ nextgroup=fsOptionsNumber | |
7 | 98 syn keyword fsOptionsExt2Check contained none normal strict |
99 syn keyword fsOptionsExt2Errors contained continue panic | |
834 | 100 syn match fsOptionsExt2Errors contained /\<remount-ro\>/ |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
101 syn keyword fsOptionsKeywords contained acl bsddf minixdf debug grpid bsdgroups minixdf nocheck nogrpid oldalloc orlov sysvgroups nouid32 nobh user_xattr nouser_xattr |
7 | 102 |
103 " Options: ext3 | |
834 | 104 syn match fsOptionsKeywords contained /\<journal=/ nextgroup=fsOptionsExt3Journal |
105 syn match fsOptionsKeywords contained /\<data=/ nextgroup=fsOptionsExt3Data | |
106 syn match fsOptionsKeywords contained /\<commit=/ nextgroup=fsOptionsNumber | |
7 | 107 syn keyword fsOptionsExt3Journal contained update inum |
108 syn keyword fsOptionsExt3Data contained journal ordered writeback | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
109 syn keyword fsOptionsKeywords contained noload user_xattr nouser_xattr acl |
2034 | 110 |
111 " Options: ext4 | |
112 syn match fsOptionsKeywords contained /\<journal=/ nextgroup=fsOptionsExt4Journal | |
113 syn match fsOptionsKeywords contained /\<data=/ nextgroup=fsOptionsExt4Data | |
114 syn match fsOptionsKeywords contained /\<barrier=/ nextgroup=fsOptionsExt4Barrier | |
115 syn match fsOptionsKeywords contained /\<journal_dev=/ nextgroup=fsOptionsNumber | |
116 syn match fsOptionsKeywords contained /\<resuid=/ nextgroup=fsOptionsNumber | |
117 syn match fsOptionsKeywords contained /\<resgid=/ nextgroup=fsOptionsNumber | |
118 syn match fsOptionsKeywords contained /\<sb=/ nextgroup=fsOptionsNumber | |
119 syn match fsOptionsKeywords contained /\<commit=/ nextgroup=fsOptionsNumber | |
120 syn keyword fsOptionsExt4Journal contained update inum | |
121 syn keyword fsOptionsExt4Data contained journal ordered writeback | |
122 syn match fsOptionsExt4Barrier /[0-1]/ | |
123 syn keyword fsOptionsKeywords contained noload extents orlov oldalloc user_xattr nouser_xattr acl noacl reservation noreservation bsddf minixdf check=none nocheck debug grpid nogroupid sysvgroups bsdgroups quota noquota grpquota usrquota bh nobh | |
7 | 124 |
125 " Options: fat | |
834 | 126 syn match fsOptionsKeywords contained /\<blocksize=/ nextgroup=fsOptionsSize |
127 syn match fsOptionsKeywords contained /\<\%([dfu]mask\|codepage\)=/ nextgroup=fsOptionsNumberOctal | |
7 | 128 syn match fsOptionsKeywords contained /\%(cvf_\%(format\|option\)\|iocharset\)=/ nextgroup=fsOptionsString |
834 | 129 syn match fsOptionsKeywords contained /\<check=/ nextgroup=@fsOptionsCheckCluster |
130 syn match fsOptionsKeywords contained /\<conv=*/ nextgroup=fsOptionsConv | |
131 syn match fsOptionsKeywords contained /\<fat=/ nextgroup=fsOptionsFatType | |
132 syn match fsOptionsKeywords contained /\<dotsOK=/ nextgroup=fsOptionsYesNo | |
7 | 133 syn keyword fsOptionsFatCheck contained r n s relaxed normal strict |
134 syn keyword fsOptionsConv contained b t a binary text auto | |
135 syn keyword fsOptionsFatType contained 12 16 32 | |
136 syn keyword fsOptionsKeywords contained quiet sys_immutable showexec dots nodots | |
137 | |
834 | 138 " Options: hfs |
139 syn match fsOptionsKeywords contained /\<\%(creator|type\)=/ nextgroup=fsOptionsString | |
140 syn match fsOptionsKeywords contained /\<\%(dir\|file\|\)_umask=/ nextgroup=fsOptionsNumberOctal | |
141 syn match fsOptionsKeywords contained /\<\%(session\|part\)=/ nextgroup=fsOptionsNumber | |
142 | |
1118 | 143 " Options: ffs |
12826 | 144 syn keyword fsOptionsKeyWords contained noperm softdep |
1118 | 145 |
7 | 146 " Options: hpfs |
834 | 147 syn match fsOptionsKeywords contained /\<case=/ nextgroup=fsOptionsHpfsCase |
7 | 148 syn keyword fsOptionsHpfsCase contained lower asis |
149 | |
150 " Options: iso9660 | |
834 | 151 syn match fsOptionsKeywords contained /\<map=/ nextgroup=fsOptionsIsoMap |
152 syn match fsOptionsKeywords contained /\<block=/ nextgroup=fsOptionsSize | |
153 syn match fsOptionsKeywords contained /\<\%(session\|sbsector\)=/ nextgroup=fsOptionsNumber | |
7 | 154 syn keyword fsOptionsIsoMap contained n o a normal off acorn |
155 syn keyword fsOptionsKeywords contained norock nojoilet unhide cruft | |
156 syn keyword fsOptionsConv contained m mtext | |
157 | |
834 | 158 " Options: jfs |
159 syn keyword fsOptionsKeywords nointegrity integrity | |
160 | |
7 | 161 " Options: nfs |
834 | 162 syn match fsOptionsKeywords contained /\<\%(rsize\|wsize\|timeo\|retrans\|acregmin\|acregmax\|acdirmin\|acdirmax\|actimeo\|retry\|port\|mountport\|mounthost\|mountprog\|mountvers\|nfsprog\|nfsvers\|namelen\)=/ nextgroup=fsOptionsString |
7 | 163 syn keyword fsOptionsKeywords contained bg fg soft hard intr cto ac tcp udp lock nobg nofg nosoft nohard nointr noposix nocto noac notcp noudp nolock |
164 | |
165 " Options: ntfs | |
834 | 166 syn match fsOptionsKeywords contained /\<\%(posix=*\|uni_xlate=\)/ nextgroup=fsOptionsNumber |
7 | 167 syn keyword fsOptionsKeywords contained utf8 |
168 | |
169 " Options: proc | |
170 " -- everything already defined | |
171 | |
172 " Options: reiserfs | |
834 | 173 syn match fsOptionsKeywords contained /\<hash=/ nextgroup=fsOptionsReiserHash |
174 syn match fsOptionsKeywords contained /\<resize=/ nextgroup=fsOptionsNumber | |
7 | 175 syn keyword fsOptionsReiserHash contained rupasov tea r5 detect |
176 syn keyword fsOptionsKeywords contained hashed_relocation noborder nolog notail no_unhashed_relocation replayonly | |
177 | |
1618 | 178 " Options: sshfs |
179 syn match fsOptionsKeywords contained /\<\%(BatchMode\|ChallengeResponseAuthentication\|CheckHostIP\|ClearAllForwardings\|Compression\|EnableSSHKeysign\|ForwardAgent\|ForwardX11\|ForwardX11Trusted\|GatewayPorts\|GSSAPIAuthentication\|GSSAPIDelegateCredentials\|HashKnownHosts\|HostbasedAuthentication\|IdentitiesOnly\|NoHostAuthenticationForLocalhost\|PasswordAuthentication\|PubkeyAuthentication\|RhostsRSAAuthentication\|RSAAuthentication\|TCPKeepAlive\|UsePrivilegedPort\|cache\)=/ nextgroup=fsOptionsYesNo | |
180 syn match fsOptionsKeywords contained /\<\%(ControlMaster\|StrictHostKeyChecking\|VerifyHostKeyDNS\)=/ nextgroup=fsOptionsSshYesNoAsk | |
181 syn match fsOptionsKeywords contained /\<\%(AddressFamily\|BindAddress\|Cipher\|Ciphers\|ControlPath\|DynamicForward\|EscapeChar\|GlobalKnownHostsFile\|HostKeyAlgorithms\|HostKeyAlias\|HostName\|IdentityFile\|KbdInteractiveDevices\|LocalForward\|LogLevel\|MACs\|PreferredAuthentications\|Protocol\|ProxyCommand\|RemoteForward\|RhostsAuthentication\|SendEnv\|SmartcardDevice\|User\|UserKnownHostsFile\|XAuthLocation\|comment\|workaround\|idmap\|ssh_command\|sftp_server\|fsname\)=/ nextgroup=fsOptionsString | |
182 syn match fsOptionsKeywords contained /\<\%(CompressionLevel\|ConnectionAttempts\|ConnectTimeout\|NumberOfPasswordPrompts\|Port\|ServerAliveCountMax\|ServerAliveInterval\|cache_timeout\|cache_X_timeout\|ssh_protocol\|directport\|max_read\|umask\|uid\|gid\|entry_timeout\|negative_timeout\|attr_timeout\)=/ nextgroup=fsOptionsNumber | |
183 syn keyword fsOptionsKeywords contained reconnect sshfs_sync no_readahead sshfs_debug transform_symlinks allow_other allow_root nonempty default_permissions large_read hard_remove use_ino readdir_ino direct_io kernel_cache | |
184 syn keyword fsOptionsSshYesNoAsk contained yes no ask | |
185 | |
834 | 186 " Options: subfs |
187 syn match fsOptionsKeywords contained /\<fs=/ nextgroup=fsOptionsString | |
188 syn keyword fsOptionsKeywords contained procuid | |
189 | |
190 " Options: swap | |
191 syn match fsOptionsKeywords contained /\<pri=/ nextgroup=fsOptionsNumber | |
192 | |
193 " Options: tmpfs | |
194 syn match fsOptionsKeywords contained /\<nr_\%(blocks\|inodes\)=/ nextgroup=fsOptionsNumber | |
195 | |
7 | 196 " Options: udf |
834 | 197 syn match fsOptionsKeywords contained /\<\%(anchor\|partition\|lastblock\|fileset\|rootdir\)=/ nextgroup=fsOptionsString |
7 | 198 syn keyword fsOptionsKeywords contained unhide undelete strict novrs |
199 | |
200 " Options: ufs | |
834 | 201 syn match fsOptionsKeywords contained /\<ufstype=/ nextgroup=fsOptionsUfsType |
202 syn match fsOptionsKeywords contained /\<onerror=/ nextgroup=fsOptionsUfsError | |
203 syn keyword fsOptionsUfsType contained old hp 44bsd sun sunx86 nextstep openstep | |
204 syn match fsOptionsUfsType contained /\<nextstep-cd\>/ | |
7 | 205 syn keyword fsOptionsUfsError contained panic lock umount repair |
206 | |
834 | 207 " Options: usbfs |
208 syn match fsOptionsKeywords contained /\<\%(dev\|bus\|list\)\%(id\|gid\)=/ nextgroup=fsOptionsNumber | |
209 syn match fsOptionsKeywords contained /\<\%(dev\|bus\|list\)mode=/ nextgroup=fsOptionsNumberOctal | |
210 | |
7 | 211 " Options: vfat |
212 syn keyword fsOptionsKeywords contained nonumtail posix utf8 | |
213 syn match fsOptionsKeywords contained /shortname=/ nextgroup=fsOptionsVfatShortname | |
214 syn keyword fsOptionsVfatShortname contained lower win95 winnt mixed | |
215 | |
216 " Options: xfs | |
217 syn match fsOptionsKeywords contained /\%(biosize\|logbufs\|logbsize\|logdev\|rtdev\|sunit\|swidth\)=/ nextgroup=fsOptionsString | |
834 | 218 syn keyword fsOptionsKeywords contained dmapi xdsm noalign noatime noquota norecovery osyncisdsync quota usrquota uqnoenforce grpquota gqnoenforce |
7 | 219 |
220 " Frequency / Pass No. | |
221 syn cluster fsFreqPassCluster contains=fsFreqPassNumber,fsFreqPassError | |
222 syn match fsFreqPassError /\s\+\zs\%(\D.*\|\S.*\|\d\+\s\+[^012]\)\ze/ contained | |
223 syn match fsFreqPassNumber /\d\+\s\+[012]\s*/ contained | |
224 | |
225 " Groups | |
226 syn match fsDevice /^\s*\zs.\{-1,}\s/me=e-1 nextgroup=fsMountPoint contains=@fsDeviceCluster,@fsGeneralCluster | |
227 syn match fsMountPoint /\s\+.\{-}\s/me=e-1 nextgroup=fsType contains=@fsMountPointCluster,@fsGeneralCluster contained | |
228 syn match fsType /\s\+.\{-}\s/me=e-1 nextgroup=fsOptions contains=@fsTypeCluster,@fsGeneralCluster contained | |
229 syn match fsOptions /\s\+.\{-}\s/me=e-1 nextgroup=fsFreqPass contains=@fsOptionsCluster,@fsGeneralCluster contained | |
230 syn match fsFreqPass /\s\+.\{-}$/ contains=@fsFreqPassCluster,@fsGeneralCluster contained | |
231 | |
232 " Whole line comments | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
233 syn match fsCommentLine /^#.*$/ contains=@Spell |
7 | 234 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
235 hi def link fsOperator Operator |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
236 hi def link fsComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
237 hi def link fsCommentLine Comment |
7 | 238 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
239 hi def link fsTypeKeyword Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
240 hi def link fsDeviceKeyword Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
241 hi def link fsDeviceLabel String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
242 hi def link fsDeviceUUID String |
12826 | 243 hi def link fsDevicePARTLABEL String |
244 hi def link fsDevicePARTUUID String | |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
245 hi def link fsDeviceSshfs String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
246 hi def link fsFreqPassNumber Number |
7 | 247 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
248 if exists('fstab_unknown_fs_errors') && fstab_unknown_fs_errors == 1 |
12826 | 249 hi def link fsTypeUnknown Error |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
250 endif |
1618 | 251 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
252 if !exists('fstab_unknown_device_errors') || fstab_unknown_device_errors == 1 |
12826 | 253 hi def link fsDeviceError Error |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
254 endif |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4502
diff
changeset
|
255 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
256 hi def link fsMountPointError Error |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
257 hi def link fsMountPointKeyword Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
258 hi def link fsFreqPassError Error |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
259 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
260 hi def link fsOptionsGeneral Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
261 hi def link fsOptionsKeywords Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
262 hi def link fsOptionsNumber Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
263 hi def link fsOptionsNumberOctal Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
264 hi def link fsOptionsString String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
265 hi def link fsOptionsSize Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
266 hi def link fsOptionsExt2Check String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
267 hi def link fsOptionsExt2Errors String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
268 hi def link fsOptionsExt3Journal String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
269 hi def link fsOptionsExt3Data String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
270 hi def link fsOptionsExt4Journal String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
271 hi def link fsOptionsExt4Data String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
272 hi def link fsOptionsExt4Barrier Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
273 hi def link fsOptionsFatCheck String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
274 hi def link fsOptionsConv String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
275 hi def link fsOptionsFatType Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
276 hi def link fsOptionsYesNo String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
277 hi def link fsOptionsHpfsCase String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
278 hi def link fsOptionsIsoMap String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
279 hi def link fsOptionsReiserHash String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
280 hi def link fsOptionsSshYesNoAsk String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
281 hi def link fsOptionsUfsType String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
282 hi def link fsOptionsUfsError String |
7 | 283 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
284 hi def link fsOptionsVfatShortname String |
7 | 285 |
286 let b:current_syntax = "fstab" | |
287 | |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
288 let &cpo = s:cpo_save |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
289 unlet s:cpo_save |
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
290 |
7 | 291 " vim: ts=8 ft=vim |