LazyVim.LazyVim/lua/lazyvim/util
Iordanis Petkakis 41a8f3a5fb
feat(lazygit): allow user to override LazyVim config with custom file (#4367)
## Description
This takes into consideration an additional file, if it exists, to
extend `LG_CONFIG_FILE` environment variable, so that users can
overwrite easier default LazyVim options set for lazygit in
`lazygit-theme.yml`. It's not desirable to directly change
`lazygit-theme.yml` as the values are hardcoded and regenerated upon
colorscheme change.
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
Fixes #4364. Ideally, the problem about `nvim-remote` on Windows should
be fixed on lazygit's side, so this is just kind of a hotfix in the
meantime. Feel free to disregard this if not desirable.
<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-08-31 09:18:20 +02:00
..
cmp.lua fix(cmp): visible 2024-06-16 15:30:44 +02:00
extras.lua fix(extras): don't load pkgs when parsing specs for LazyExtras 2024-06-29 10:19:01 +02:00
format.lua feat(keymaps): dynamic which-key icons/descriptions for toggles (#4050) 2024-07-15 15:47:44 +02:00
init.lua refactor(util): use available get_plugin() function (#3687) 2024-06-16 09:06:53 +02:00
inject.lua feat(util): set_upvalue 2024-05-16 21:25:51 +02:00
json.lua feat: allow a custom path for lazyvim.json. Fixes #3856 2024-06-29 21:19:15 +02:00
lazygit.lua feat(lazygit): allow user to override LazyVim config with custom file (#4367) 2024-08-31 09:18:20 +02:00
lsp.lua fix(lsp): dont highlight document words when cmp is visible 2024-06-16 15:17:56 +02:00
lualine.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
mini.lua feat(keymaps): dynamic which-key icons/descriptions for toggles (#4050) 2024-07-15 15:47:44 +02:00
news.lua fix(news): pcall diag when showing news for older Neovim versions 2024-07-25 10:55:08 +02:00
pick.lua fix(pick): get rid of "auto" picker and set better defaults for telescope find_files (#4024) 2024-07-14 07:52:00 +02:00
plugin.lua chore(markdown): markdown.nvim was renamed to render-markdown.nvim (#4259) 2024-08-31 09:16:45 +02:00
root.lua fix(root): also check root_dir. Fixes #3732 2024-06-19 18:25:58 +02:00
terminal.lua feat(terminal): clear search highlight when opening a terminal (#4090) 2024-07-18 07:10:22 +02:00
toggle.lua fix(toggle): safe toggle get 2024-07-20 22:06:16 +02:00
ui.lua fix(bufremove): fix Cancel (#3834) 2024-06-27 23:51:57 +02:00