Patchwork D7683: examples: add an example configuration for go source files

login
register
mail settings
Submitter phabricator
Date Dec. 17, 2019, 7:04 p.m.
Message ID <differential-rev-PHID-DREV-2fdut7d3ee7pvhpqi746-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/43937/
State Superseded
Headers show

Comments

phabricator - Dec. 17, 2019, 7:04 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Tested by timeless.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7683

AFFECTED FILES
  contrib/examples/fix.hgrc

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -7,3 +7,6 @@ 
 
 black:command = black --config=black.toml -
 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"
+
+go:command = gofmt
+go:pattern = set:**.go