summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index 9f59f56..7ff2947 100644
--- a/config.go
+++ b/config.go
@@ -20,6 +20,7 @@ import (
"github.com/xxxserxxx/lingo/v2"
)
+// FIXME github action uses old(er) Go version that doesn't have embed
//go:embed "dicts/*.toml"
var Dicts embed.FS
@@ -50,6 +51,7 @@ type Config struct {
NvidiaRefresh time.Duration
}
+// FIXME parsing can't handle blank lines
func NewConfig() Config {
cd := configdir.New("", "gotop")
cd.LocalPath, _ = filepath.Abs(".")