kdheepak / lazygit.nvim

Plugin for calling lazygit from within neovim.
MIT License
1.47k stars 53 forks source link

feat: Add support for multiple lazygit config files #107

Closed Srivatsan260 closed 1 year ago

Srivatsan260 commented 1 year ago

Hey @kdheepak , Thanks for creating this plugin! It's been major part of my daily workflow for over a year now.

Lazygit supports using multiple config files: https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md?plain=1#L346

This PR adds code to parse vim.g.lazygit_config_file_path as a string | table.

PS: I'm a total noob at lua, so please let me know if anything can be done better!

kdheepak commented 1 year ago

Thank you for the PR!