Skip to content

Commit 59981b8

Browse files
bouffaunknwon
authored andcommitted
Enable syntax highlighting for CMakeLists.txt files gogs#2199 (gogs#4130)
1 parent 40bce63 commit 59981b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/template/highlight/highlight.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var (
2020

2121
// File names that are representing highlight classes.
2222
highlightFileNames = map[string]bool{
23+
"cmakelists.txt": true,
2324
"dockerfile": true,
2425
"makefile": true,
2526
}

0 commit comments

Comments
 (0)