mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 09:20:36 +00:00
No highlighting for .txt files (#1922)
This commit is contained in:
parent
4a3f40460b
commit
6d613fb28e
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@ var (
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extensions that are not same as highlight classes.
|
// Extensions that are not same as highlight classes.
|
||||||
highlightMapping = map[string]string{}
|
highlightMapping = map[string]string{
|
||||||
|
".txt": "nohighlight",
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewContext loads highlight map
|
// NewContext loads highlight map
|
||||||
|
|
Loading…
Reference in a new issue