I’ve spotted a bug I want to fix - Hugo doesn’t correctly recognise classes that are not predefined.
Sublimetext:
Hugo output (dracula style):
Hugo output (monokai style):
Here’s my code if anyone wants to investigate:
type NewType float32
var NewTypeArray = [2][2]NewType{}
var FloatArray = [2][2]float32{}
const (
NewTypeConst NewType = 1
NewTypeConst float32 = 1
)
var NewTypeVar NewType
var FloatVar float32
I’m not sure how to go about fixing this because I’m not sure where the problem lies within Hugo.
Any help would be appreciated!