aerc/config
Moritz Poldrack 978d35d356 lint: homogenize operations and minor fixes (gocritic)
Apply GoDoc comment policy (comments for humans should have a space
after the //; machine-readable comments shouldn't)

Use strings.ReplaceAll instead of strings.Replace when appropriate

Remove if/else chains by replacing them with switches

Use short assignment/increment notation

Replace single case switches with if statements

Combine else and if when appropriate

Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-08-04 21:58:01 +02:00
..
accounts.conf Copy sent emails to the Sent folder 2019-05-15 19:41:21 -04:00
aerc.conf filters: make it explicit that encoding is UTF-8 2022-08-03 22:36:51 +02:00
bindings.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
bindings_test.go bindings: support more modified keys 2021-10-28 16:22:28 +02:00
binds.conf binds: Open msgs in default Postpone folder in edit-mode 2022-06-22 11:36:46 +02:00
config.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
default_styleset fix aerc-stylesets(7) typos 2020-12-13 10:30:56 +01:00
style.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
triggers.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00