Bug 254696 - Add .editorconfig
Summary: Add .editorconfig
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sergio Carlavilla Delgado
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-01 14:10 UTC by Adriaan de Groot
Modified: 2021-04-01 18:42 UTC (History)
1 user (show)

See Also:


Attachments
Editorconfig file (271 bytes, text/plain)
2021-04-01 14:10 UTC, Adriaan de Groot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adriaan de Groot freebsd_committer 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).