micro/runtime/syntax/godoc.yaml
2019-11-05 22:57:36 -05:00

18 lines
262 B
YAML

# godoc
# example: go doc -all | micro
filetype: godoc
detect:
filename: "\\.godoc$"
header: package.*import
rules:
- preproc: "^[^ ].*"
- comment:
start: "//"
end: "$"
rules:
- todo: "(TODO|XXX|FIXME):?"