I want gogs web editor to use Tabs when editing XML files online.
(currently when the user press Enter in the text area, a new line is created with space indentations, regardless of the indentation style already used by the file)
Searching about that, I feel it comes down to configuring CodeMirror setting ‘indentWithTabs’ to true
But I wasn’t able to figure out how to do this configuration through gogs (using custom/templates ?), preferably without recompiling gogs.
Ideally if there is a way to change this settings based on the file type… but if it’s globally set to true, it’s fine with me.