Commit Graph

188 Commits

Author SHA1 Message Date
Dheepak Krishnamurthy
2432b44748 Update README.md 2024-08-10 05:30:17 -04:00
akan
dc56df433b Get the path of current file relative to the git root 2024-07-08 18:59:56 -04:00
Avery Lewis
ad3e1ea592 Update README.md 2024-05-12 20:28:01 -04:00
Jacob Scott
0ada6c6e7e Update README.md
Add a recommendation to use 'keys' to set the keybinding to load lazygit.nvim if using lazy.nvim. If the keybinding is set elsewhere, e.g. in a config() function, the plugin won't be loaded the first time this is run - the user will have to use `: LazyGit` first.
2024-03-23 22:13:09 -04:00
Rocco Goßmann
774dcecbd0 Updated install lazy.nvim section in README.md
When using lazy.nvim, the Plugin should only load now, if one of its functions is called.
2024-02-29 22:50:17 -05:00
pythoner6
10a5f30536 fix: only set custom config file settings if not set already 2024-02-22 07:09:38 -05:00
Ethan Warrick
1e08e3f5ac feat: Use winblend config for plenary window
There is an existing user config for setting the winblend value of the
lazygit floating window. This controls the background transparency of
the window. However, this config option is not respected if the lazygit
window is created using plenary (another user config). This change
forces the plenary window to use the existing config for transparency.
2023-12-15 00:18:17 -05:00
Srivatsan Ramaswamy
de35012036 feat: Add support for multiple lazygit config files
Lazygit supports using multiple config files: https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md?plain=1#L346

This commit adds code to parse vim.g.lazygit_config_file_path as a `string | table`,
then passes the files to `lazygit` via the `-ucf` flag
2023-09-26 00:30:26 -04:00
Roger Kim
75c920883f fix: Cover missing edge case in resetting user's preferred shell 2023-09-05 18:46:07 -04:00
Dheepak Krishnamurthy
18060f9841 Merge pull request #103 from gmerzu/fix2
fix: open_floating_window should return lazygit buffer instead of border_window
2023-09-02 16:01:31 -04:00
Dheepak Krishnamurthy
22e51e0326 Merge pull request #102 from gmerzu/fix1
fix: plenary.percentage_range_window returns 'win_id' and 'bufnr'
2023-08-07 00:07:02 -04:00
Anton Kozhemyachenko
a9382f03c7 fix: open_floating_window should return lazygit buffer instead of border_window 2023-08-03 21:29:54 +03:00
Anton Kozhemyachenko
3d7878cad9 fix: plenary.percentage_range_window returns 'win_id' and 'bufnr' 2023-08-03 18:58:37 +03:00
Dheepak Krishnamurthy
1578fa3db0 Merge pull request #99 from frantisekstanko/main
docs: Fix lua example
2023-07-21 14:10:44 -04:00
Frantisek Stanko
b5ff804b44 docs: Fix lua example
Lists in lua are specified with curly brackets, not square brackets.
2023-07-21 20:08:02 +02:00
Dheepak Krishnamurthy
146c6294bf Merge pull request #97 from TashreeqPeck/main
fix: store win and buffer for :LazyGitFilter command
2023-07-15 08:25:23 -04:00
Tashreeq Peck
b4a4c6d26b fix: store win and buffer for :LazyGitFilter command 2023-07-15 17:39:21 +08:00
Dheepak Krishnamurthy
3466e48439 Create FUNDING.yml 2023-06-03 19:14:06 -04:00
Dheepak Krishnamurthy
883c25d13e Merge pull request #90 from yorik1984/main
Add highlighting groups and udpate border chars
2023-05-20 17:33:07 -04:00
Dheepak Krishnamurthy
e1f4ee5697 docs: Update README.md 📚 2023-05-20 17:31:43 -04:00
Dheepak Krishnamurthy
e90f0ee657 feat: Change option to lazygit_floating_window_border_chars 2023-05-20 17:30:30 -04:00
Dheepak Krishnamurthy
41c617f2da feat: Add deprecation message for old option 2023-05-20 17:27:59 -04:00
Dheepak Krishnamurthy
64455f601b Merge pull request #85 from lawrence-laz/lawrence-laz-readme-nvim-listen-server
Update README.md with nvim --listen and --server
2023-05-20 17:15:18 -04:00
yorik1984
096bef1ec6 change border chars 2023-01-11 02:04:50 +02:00
yorik1984
9c4dc0b3c4 add install by lazy and info about highlighting 2023-01-11 01:54:10 +02:00
yorik1984
6f5174ff60 Add LazyGit highlighting groups and new border
Add `LazyGitBorder` and `LazyGitFloat` highlighting groups using nvim(>=0.7.2) function  `vim.api.nvim_set_hl`. 
Add full list of window border for useful customize.
2023-01-11 01:17:54 +02:00
Laurynas Lazauskas
3a807afedd Update README.md with nvim --listen and --server
The provided instructions help to set up an environment where pressing the key `e` on a file in `lazygit` will edit the file in the same nvim instance.
2022-11-09 00:08:18 +02:00
Dheepak Krishnamurthy
32bffdebe2 Merge pull request #83 from aabccd021/main
fix: Fix broken background color on NVIM v0.8.0
2022-11-05 07:24:38 -04:00
aabccd021
3d3ad785d1 fix: Fix broken background color on NVIM v0.8.0 2022-11-05 17:04:52 +07:00
Dheepak Krishnamurthy
56045b4a0d feat: change custom config file logic 2022-11-02 08:34:49 -04:00
Dheepak Krishnamurthy
2fd5b526e2 fix: escape spacing 🐛 2022-11-02 08:30:43 -04:00
Dheepak Krishnamurthy
e2b1e4c231 fix: Change default lazygit config directory 🐛 2022-11-02 08:27:28 -04:00
Dheepak Krishnamurthy
cd3f79f4ce Merge pull request #81 from cleong14/patch-1
fix(lazygit.lua): escape 'space' in filepath
2022-11-02 07:55:48 -04:00
Chaz
914816035f fix(lazygit.lua): escape 'space' in filepath 2022-11-02 00:18:07 -10:00
Dheepak Krishnamurthy
e2be2a90b0 Merge pull request #71 from thefux/master
#69 add custom config file support
2022-11-01 18:06:51 -04:00
thefux
7523a9a6d3 update config 2022-11-01 20:56:21 +01:00
Dheepak Krishnamurthy
c7a8bfb606 Merge pull request #72 from thefux/bug/60-fix-lazygit-telescope-extension
Bug/60 fix lazygit telescope extension
2022-10-25 16:56:55 -04:00
Dheepak Krishnamurthy
09e8c6ffea Merge pull request #80 from cnrrobertson/LazyGitCurrentFile
Add LazyGitCurrentFile command
2022-10-25 16:55:32 -04:00
cnrrobertson
440695bc6d Update the README for new LazyGitCurrentFile command 2022-10-25 16:17:04 -04:00
cnrrobertson
37a4ab0a6e Add LazyGitCurrentFile command to open floating LazyGit window at project root of current file 2022-10-25 16:16:48 -04:00
cnrrobertson
bed8d6df13 parametrize get_root to be used in different directories 2022-10-25 16:15:50 -04:00
thefux
42ae4e44e7 #60 fix extension 2022-09-06 15:35:28 +02:00
thefux
061256662c #60 small refactoring: update teardown cleanup process 2022-09-06 15:34:26 +02:00
thefux
2c7621e4f9 #69 add custom config file support 2022-09-04 20:10:37 +02:00
Dheepak Krishnamurthy
9c73fd69a4 Merge pull request #64 from ecosse3/feature/filter-current-file-cmd
feat: add LazyGitFilterCurrentFile command
2022-06-14 15:07:15 -06:00
ecosse3
5845162ae8 Update README.md 2022-06-10 18:57:33 +02:00
ecosse3
ad5ea9ebeb feat: add LazyGitFilterCurrentFile command 2022-06-10 18:40:52 +02:00
Dheepak Krishnamurthy
1f9f372b9f Merge pull request #61 from TheBlob42/master
feat: return to the previous window on exit
2022-05-10 05:42:27 -06:00
TheBlob42
8967fb8599 feat: return to the previous window on exit
Save the window from which the LazyGit command was executed and return
to it on exit, so in case of multiple splits the user does not have to
navigate back manually

blub
2022-05-10 08:41:24 +02:00
Dheepak Krishnamurthy
68407ff60c Update README.md 2022-04-15 10:04:02 -06:00