summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorKalyan Sriram <kalyan@coderkalyan.com>2021-11-22 18:37:40 +0000
committerHubert Hirtz <hubert@hirtz.pm>2021-11-23 09:10:59 +0100
commitb46900566104c0143e06df452fb994e888b23548 (patch)
tree2d4f0e14c069fd8a4a7ff91ea9ee43d87ad66b58 /go.mod
parentAdd support for CHATHISTORY TARGETS (diff)
config: replace YAML with scfg config format
This patch replaces the YAML configuration format with scfg (https://git.sr.ht/~emersion/scfg). Additionally, a few things about configuration are cleaned up: * abbreviated names are expanded (addr -> address, nick -> nickname) * negative bools switched to positive (no-tls -> tls) * independent column widths are grouped under the "pane-width" directive * implementation of default configuration values is improved * password-cmd is executed directly (with scfg field parsing) instead of with "sh -c". * on-highlight is now a file, $XDG_CONFIG_HOME/senpai/highlight by default, which can be changed with the on-highlight-path directive
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 88829bd..d3c9b55 100644
--- a/go.mod
+++ b/go.mod
@@ -3,11 +3,11 @@ module git.sr.ht/~taiite/senpai
go 1.16
require (
+ git.sr.ht/~emersion/go-scfg v0.0.0-20201019143924-142a8aa629fc
github.com/gdamore/tcell/v2 v2.3.11
github.com/mattn/go-runewidth v0.0.10
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6
- gopkg.in/yaml.v2 v2.3.0
mvdan.cc/xurls/v2 v2.3.0
)