Bug 254696

Summary: Add .editorconfig
Product: Documentation Reporter: Adriaan de Groot <adridg>
Component: Books & ArticlesAssignee: Sergio Carlavilla Delgado <carlavilla>
Status: Closed Not Accepted    
Severity: Affects Only Me CC: carlavilla
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Editorconfig file none

Description Adriaan de Groot freebsd_committer freebsd_triage 2021-04-01 14:10:10 UTC
Created attachment 223749 [details]
Editorconfig file

The documentation primer has a bunch of complicated editor setups -- which seem oriented towards the Docbook format used previously -- and the quickstart describes some specific formatting quirks (indent depths apparently 2-spaces, 4-spaces, 6-spaces, 1-tab, 1-tab-and-2-spaces..).

This patch adds an .editorconfig, which (pre)configures editors that support it to follow the 2-space indent depths (although the editorconfig standard doesn't support specifying mixed tabs-and-spaces indenting).
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2021-06-26 22:14:23 UTC
Insufficiently useful.