0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/modules/templates
wxiaoguang 4fc4f6e634
Refactor "editorconfig" (#26391)
There are 2 kinds of ".Editorconfig" in code, one is `JSON string` for
the web edtior, another is `*editorconfig.Editorconfig` for the file
rendering (used by `TabSizeClass`)

This PR distinguish them with different names.

And by the way, change the default tab size from 8 to 4, I think few
people would like to use 8-size tabs nowadays.
2023-08-08 10:44:19 +00:00
..
eval
scopedtmpl Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
vars
base.go
dynamic.go
helper.go Remove unnecessary template helper DisableGravatar (#26386) 2023-08-08 08:29:14 +00:00
helper_test.go
htmlrenderer.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go
util_avatar.go Remove unnecessary template helper repoAvatar (#26387) 2023-08-08 15:29:35 +08:00
util_dict.go
util_json.go
util_misc.go Refactor "editorconfig" (#26391) 2023-08-08 10:44:19 +00:00
util_render.go
util_render_test.go
util_slice.go
util_string.go
util_test.go