micro/runtime/syntax/godoc.yaml

18 lines
264 B
YAML
Raw Normal View History

2019-11-06 06:57:36 +03:00
# godoc
# example: go doc -all | micro
2019-11-06 06:57:36 +03:00
filetype: godoc
detect:
filename: "\\.godoc$"
signature: package.*import
2019-11-06 06:57:36 +03:00
rules:
- preproc: "^[^ ].*"
- comment:
start: "//"
end: "$"
rules:
- todo: "(TODO|XXX|FIXME):?"