Dot_Files/.config/micro/syntax/godoc.yaml

18 lines
262 B
YAML
Raw Normal View History

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