Commit graph

19 commits

Author SHA1 Message Date
NevLext
ec346843e0
fix(lazygit): enable boolean values in config (#377)
## Description

Using boolean value inside `config` resulted in error `attempt to
concatenate a boolean value` inside `to_yaml` function.
This PR fixes it by converting boolean values to string

Example config:
```
lazygit = {
    config = {
        gui = {
            showFileTree = false,
        },
    },
},
```
## Related Issue(s)

## Screenshots

![image](https://github.com/user-attachments/assets/eea8eec6-2008-4ded-9222-6f7c9b9d4390)
2024-12-31 06:22:31 +01:00
Scott Swensen
ef114c0efe
feat(lazygit): respect existing LG_CONFIG_FILE when setting config paths (#208)
## 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>
2024-12-13 14:36:26 +01:00
Folke Lemaitre
140204fde5 build: added metadata to plugins 2024-12-10 13:55:51 +01:00
Anton Kastritskii
974bccb126
docs(lazygit): comment how to disable nerd icons (#201)
## Description

Show explicitly how to disable nerd icons in the default versions of
config and documentation

## Related Issue(s)

- Fixes #200
2024-12-04 15:29:41 +01:00
Folke Lemaitre
1c4c74828f feat(health): added health checks to plugins 2024-11-14 23:56:37 +01:00
Folke Lemaitre
14f076e039
fix(lazygit): not needed to use deprecated fallback for set_hl 2024-11-14 09:12:27 +01:00
Folke Lemaitre
0df7775541
docs: docgen 2024-11-10 08:03:44 +01:00
Folke Lemaitre
d2f4f1937e
feat(lazygit): allow overriding extra lazygit config options 2024-11-09 17:08:34 +01:00
Folke Lemaitre
4f99818b0a
fix: added compatibility with Neovim >= 0.9.4 2024-11-09 15:38:43 +01:00
Folke Lemaitre
7e6ea65f5f
docs: better docgen using treesitter 2024-11-09 14:42:09 +01:00
Folke Lemaitre
084fdf7d79
docs: more docs... 2024-11-06 17:49:10 +01:00
Folke Lemaitre
aa17f60c19
docs: lazygit 2024-11-06 13:38:51 +01:00
Folke Lemaitre
82ea3e68c4
docs: moar docs 2024-11-06 11:43:50 +01:00
Folke Lemaitre
983621b0fe
docs: docgen 2024-11-06 11:27:52 +01:00
Folke Lemaitre
66810971b9
fix(win): better implementation of window styles (previously views) 2024-11-06 10:56:08 +01:00
Folke Lemaitre
12d6f863f7
feat(win): custom views 2024-11-04 22:17:12 +01:00
Folke Lemaitre
1bdb193139
refactor: float -> win, since it also manages splits 2024-11-04 20:29:25 +01:00
Folke Lemaitre
f4e0130ec3
feat: added notify 2024-11-04 18:56:19 +01:00
Folke Lemaitre
fc32619734
feat: added lazygit 2024-11-04 12:13:43 +01:00