diff options
| author | T <t@tjp.lol> | 2025-03-24 21:15:22 -0600 |
|---|---|---|
| committer | T <t@tjp.lol> | 2025-03-24 21:15:30 -0600 |
| commit | 52826ae8183a1510c65aa63f5459f94c4d9ad4d7 (patch) | |
| tree | 0537ae2f79375d5b351e408330155e676fdf4a4a | |
| parent | ce6c5364068413fdfb40eca55fb4445e1cd49ff1 (diff) | |
complete documentation of config options, fix one option name
| -rw-r--r-- | README.gmi | 3 | ||||
| -rw-r--r-- | files.go | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -125,5 +125,8 @@ It has a "[main]" section with the following configuration options: * default_scheme (string): the URL scheme to use in the "go" command when none is provided. default "gemini" * soft_wrap (int): the number of columns to wrap, or -1 to not add soft wrapping. default 72 * download_folder (string): path at which to store files saved by the "save" command. default $HOME +* pager (string): whether to run the "less" pager ("auto", "always", or "never"). default "auto" +* timeout (string): how long to allow servers to take responding to requests, in go's duration formats. default "10s" +* saved_history_depth (int): how many items of history to keep. default 30 Then a "[handlers]" section contains mappings of mimetypes to shell commands which should be used to handle them. @@ -23,7 +23,7 @@ type ConfigMain struct { VimKeys bool `toml:"vim_keys"` Quiet bool `toml:"quiet"` Pager string `toml:"pager"` - Timeout duration `toml:"duration"` + Timeout duration `toml:"timeout"` SavedHistoryDepth int `toml:"saved_history_depth"` } |
