diff --git a/gno.land/pkg/gnoweb/handler.go b/gno.land/pkg/gnoweb/handler.go index b3a9fcd143c..bc87f057e26 100644 --- a/gno.land/pkg/gnoweb/handler.go +++ b/gno.land/pkg/gnoweb/handler.go @@ -331,8 +331,6 @@ func (h *WebHandler) highlightSource(fileName string, src []byte) ([]byte, error lexer = lexers.Get("go") case ".md": lexer = lexers.Get("markdown") - case ".mod": - lexer = lexers.Get("gomod") default: lexer = lexers.Get("txt") // file kind not supported, fallback on `.txt` }