From 473b9098763000f6b1e5c531f2bd6c8b2f8a40c1 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 20 Aug 2017 00:45:13 +0200 Subject: Vertically align record fields in plugins Since the style we're following favours vertical alignment, align these record definitions aroung the `=` signs. --- src/Plugin/GitHubCommit.hs | 6 +++--- src/Plugin/GitRemoteSetOrigin.hs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/Plugin/GitHubCommit.hs b/src/Plugin/GitHubCommit.hs index c4dd2ca..9c32462 100644 --- a/src/Plugin/GitHubCommit.hs +++ b/src/Plugin/GitHubCommit.hs @@ -15,9 +15,9 @@ import qualified Message as M import Plugin.Base gitHubCommit = Plugin - { matchRegex = "^[0-9a-f]{40}$" - , perform = gitHubCommitAction - , command = "GIT_SHA" + { matchRegex = "^[0-9a-f]{40}$" + , perform = gitHubCommitAction + , command = "GIT_SHA" , description = "Generate a commit URL based on the given SHA." } diff --git a/src/Plugin/GitRemoteSetOrigin.hs b/src/Plugin/GitRemoteSetOrigin.hs index 5b2aad2..a0d0fa7 100644 --- a/src/Plugin/GitRemoteSetOrigin.hs +++ b/src/Plugin/GitRemoteSetOrigin.hs @@ -14,9 +14,9 @@ import qualified Message as M import Plugin.Base gitRemoteSetOrigin = Plugin - { matchRegex = "^git remote set origin ([^ ]+)$" - , perform = gitRemoteSetOriginAction - , command = "git remote set origin URL" + { matchRegex = "^git remote set origin ([^ ]+)$" + , perform = gitRemoteSetOriginAction + , command = "git remote set origin URL" , description = "Set the git remote URL for this channel." } -- cgit v1.2.3