Skip to content

Commit

Permalink
optimize for air and ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 23, 2024
1 parent 8eeddce commit 6037111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Probe(min, max, pos, ipos *types.Pos, na types.NodeAccessor, cr types.Color
return nil, fmt.Errorf("getNode error @ %s: %v", cpos, err)
}

if node != nil {
if node != nil && node.Name != "air" && node.Name != "ignore" {
c := cr(node.Name, node.Param2)
if c != nil {
nodes = append(nodes, &NodeWithColor{
Expand Down

0 comments on commit 6037111

Please sign in to comment.