config-lsp/handlers/fstab/documentation/documentation-mount-point.go
2024-09-28 12:07:18 +02:00

24 lines
464 B
Go

package fstabdocumentation
import (
docvalues "config-lsp/doc-values"
"regexp"
)
var MountPointField = docvalues.OrValue{
Values: []docvalues.DeprecatedValue{
docvalues.EnumValue{
Values: []docvalues.EnumString{
{
InsertText: "none",
DescriptionText: "none",
Documentation: "Specify that the filesystem should be treated as swap space",
},
},
},
docvalues.RegexValue{
Regex: *regexp.MustCompile(`\S+`),
},
},
}