runtime(fstab): Add cgroup2 to valid device types
Commit:
https://github.com/vim/vim/commit/0435abfaa1f0833f4540d50acde1d2be838e87fc
Author: Radu Dineiu <[email protected]>
Date: Sun Feb 15 16:05:41 2026 +0000
runtime(fstab): Add cgroup2 to valid device types
closes: https://github.com/vim/vim/issues/19403
Signed-off-by: Radu Dineiu <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/fstab.vim b/runtime/syntax/fstab.vim
index 442bc94f3..a7ec978be 100644
--- a/runtime/syntax/fstab.vim
+++ b/runtime/syntax/fstab.vim
@@ -2,8 +2,8 @@
" Language: fstab file
" Maintainer: Radu Dineiu <[email protected]>
" URL: https://raw.github.com/rid9/vim-fstab/master/syntax/fstab.vim
-" Last Change: 2025 Aug 21
-" Version: 1.7.0
+" Last Change: 2026 Feb 14
+" Version: 1.7.1
"
" Credits:
" David Necas (Yeti) <[email protected]>
@@ -21,6 +21,7 @@
"
" Changelog:
" - 2025 Aug 21 added support for mtab
+" - 2026 Feb 14 added cgroup2 to device types
" quit when a syntax file was already loaded
if exists("b:current_syntax")
@@ -38,7 +39,7 @@ syn match fsOperator /[,=:#]/
" Device
syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained
-syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs
sysfs usbfs tracefs overlay
+syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs
sysfs usbfs tracefs overlay cgroup2
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID
syn keyword fsDeviceKeyword contained PARTLABEL nextgroup=fsDevicePARTLABEL
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vrem0-00DgTq-E7%40256bit.org.