1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 08:32:12 +01:00
aerc/config
Reto Brunner e78b7b85e4 config: Strongly type context type
The go compiler can't help much with untyped int constants.
Even though the only valid constants are 0-3 it will happily accept 4 as input.

Let's let the go compiler worry about correctness here. This also allows people
not very familiar with the code to use it properly via auto completion.
2020-01-24 12:25:59 -05:00
..
accounts.conf
aerc.conf.in
bindings_test.go
bindings.go
binds.conf binds.conf: mark bindings 2019-12-21 09:27:54 -05:00
config.go config: Strongly type context type 2020-01-24 12:25:59 -05:00
triggers.go