Selaa lähdekoodia

Correct cmake detection

Lucas Stadler 8 vuotta sitten
vanhempi
commit
d774b1837b
1 muutettua tiedostoa jossa 15 lisäystä ja 15 poistoa
  1. 15 15
      quit.go

+ 15 - 15
quit.go

@ -170,21 +170,21 @@ func (fr *FancyRepo) Tags() ([]string, error) {
170 170
}
171 171
172 172
var languageSuffixes = map[string]string{
173
	".c":            "C",
174
	".h":            "C",
175
	".cpp":          "C++",
176
	"CMakeList.txt": "CMake",
177
	".css":          "CSS",
178
	".go":           "Go",
179
	".html":         "HTML",
180
	".js":           "JavaScript",
181
	".java":         "Java",
182
	"Makefile":      "Makefile",
183
	".py":           "Python",
184
	".rb":           "Ruby",
185
	".rs":           "Rust",
186
	".sh":           "Shell",
187
	".bash":         "Shell",
173
	".c":             "C",
174
	".h":             "C",
175
	".cpp":           "C++",
176
	"CMakeLists.txt": "CMake",
177
	".css":           "CSS",
178
	".go":            "Go",
179
	".html":          "HTML",
180
	".js":            "JavaScript",
181
	".java":          "Java",
182
	"Makefile":       "Makefile",
183
	".py":            "Python",
184
	".rb":            "Ruby",
185
	".rs":            "Rust",
186
	".sh":            "Shell",
187
	".bash":          "Shell",
188 188
}
189 189
190 190
var languageColors = map[string]string{