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 a66f40f commit 97870dd
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 97870dd

Please sign in to comment.