## Description
This change preserves any existing Lazygit user config while still
adding the theme configuration.
New Behavior:
1. Check if `LG_CONFIG_FILE` already exists in the environment
(`vim.env.LG_CONFIG_FILE`)
2. If it exists, use that value; if not, fall back to the default config
path (`vim.fs.normalize(config_dir .. "/config.yml")`)
3. Append the normalized theme configuration path (`opts.theme_path`)
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
## Description
Adds an `icon` option to the dashboard `startup` section. So people
(like me, who thinks an emoji in a bunch of nerdfonts is awkward) can
change it easily.
## Screenshots
<details>
<summary>Screenshots</summary>
Screenshot with a minimal config

</details>
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
The intention is to make it easier to exclude the dashboard terminal
from some plugins. For example, heirline.nvim sets winbar per-window to
allow for winbar to be optionally disabled in non-floating windows, so
this PR lets me disable heirline for snacks' dashboard terminals over
other floating terminals.
## Description
1. Trim the trailing `:` from the prompt. The `:` is usually added to
`vim.ui.input`, since it is by default displayed in the cmdline, where a
separater is useful. As a window title, however, it serves no purpose;
adding a `:` to a title is generally disrecommended.
2. Disable cursorline in the input window by default. Since the input
window by default has a height of 1, the cursorline is not helpful at
all, and only results in an inconsistently looking appearance.
3. In case the user disables the icon by setting it to `""`, there is
excess padding which looks weird (and also does not align with a window
title set to `left`). Thus added a check for an empty string and adjust
the padding accordingly.
4. Set `snacks_input` as default filetype for the input buffer, in line
with how the other modules of `snacks` work.
All four changes are a separate commit, in case one of them is for some
reason not desirable.
## Screenshots
before

after
