]> git.lizzy.rs Git - micro.git/blobdiff - pkg/highlight/highlighter.go
More style improvements
[micro.git] / pkg / highlight / highlighter.go
index 440b1ff0019118436d4e66143f3d2fda0a1d8e80..50545f04da5278f99e8f9d6a791337befa99c2f9 100644 (file)
@@ -67,6 +67,7 @@ func combineLineMatch(src, dst LineMatch) LineMatch {
 // A State represents the region at the end of a line
 type State *region
 
+// EmptyDef is an empty definition.
 var EmptyDef = Def{nil, &rules{}}
 
 // LineStates is an interface for a buffer-like object which can also store the states and matches for every line