Skip to content

Commit

Permalink
feat: add support for fish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jabuxas committed Oct 17, 2024
1 parent 35b1b18 commit a36cec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_display.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var extensions = map[string]string{
".log": "text", ".txt": "text", ".csv": "text",
".json": "text", ".env": "text", ".sum": "text",
".gitignore": "text", ".dockerfile": "text", ".Makefile": "text",
".rst": "text", ".el": "text",
".rst": "text", ".el": "text", ".fish": "text",
}

func DisplayFile(app *Application, file string, w http.ResponseWriter) {
Expand Down

0 comments on commit a36cec5

Please sign in to comment.