Ver Fonte

Enable syntax highlighting for CMakeLists.txt files #2199 (#4130)

Mourad Boufarguine há 8 anos atrás
pai
commit
59981b8818
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      modules/template/highlight/highlight.go

+ 1 - 0
modules/template/highlight/highlight.go

@@ -20,6 +20,7 @@ var (
 
 	// File names that are representing highlight classes.
 	highlightFileNames = map[string]bool{
+		"cmakelists.txt": true,
 		"dockerfile": true,
 		"makefile":   true,
 	}