mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
24 lines
464 B
Go
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+`),
|
|
},
|
|
},
|
|
}
|