thefux
b419f3e8d1
small refactoring
2022-03-06 11:18:41 +01:00
thefux
cd54911788
update plugin
2022-02-22 22:23:50 +01:00
thefux
09d1598182
add fix
2022-02-21 20:38:39 +01:00
thefux
5e121d88da
clean up
2022-02-21 20:27:36 +01:00
thefux
7a41db2131
add telescope extension ^& small refactoring (still not done)
2022-02-11 22:16:12 +01:00
Dheepak Krishnamurthy
2ee9f4d0fc
Merge pull request #51 from TheBlob42/master
...
fix: improve git commit message via nvr
2022-01-15 02:08:23 -07:00
Dheepak Krishnamurthy
56e71f5cda
Merge pull request #49 from Avimitin/fix-submodule
...
refactor: delete the wrong and useless path check
2022-01-15 02:06:18 -07:00
tobias.voelzel
4c33a74098
fix: improve git commit message via nvr
...
Switch to the BufUnload event for reopening LazyGit window, so that the
user can switch windows before submitting his commit message.
2022-01-14 08:24:50 +01:00
Avimitin
4495d351ed
refactor: update the config file path
...
The config file path had been updated in
03b9db5e0a
Signed-off-by: Avimitin <avimitin@gmail.com >
2022-01-04 16:52:25 +08:00
Avimitin
133ed492da
refactor: delete the wrong and useless path check
...
The file path check is incorrect. It gives the main repository path to
lazygit, not the submodule path. Lazygit itself can do well for the
path-checking job, so just let lazygit deal with it.
Symlink check functionality is kept.
Signed-off-by: Avimitin <avimitin@gmail.com >
2022-01-04 15:46:44 +08:00
f
18d121833b
vim.fn.isdirectory(..) return 0/1
2021-11-21 14:09:52 +08:00
f
940495546f
fix: to check path exists. lazygit -g "notExistPath" will error: *fs.PathError stat /xxxxxx/.git/: no such file or directory
2021-11-21 13:12:22 +08:00
f
148d19ca7a
fix: git rev-parse --show-superproject-working-tree return fatal: not a git repository (or any of the parent directories): .git when execute not in a git repo
2021-11-21 10:51:23 +08:00
Dheepak Krishnamurthy
bcd111df61
Change mkdir to take p as argument
...
This allows creating a nested folder if it doesn't exist
2021-10-31 14:12:16 -06:00
Ryan David Sheasby
17363d8200
Close #28
2021-08-07 22:25:59 +02:00
Nazeeh ElDirghami
44e8531147
fix lazygit launching on Windows
2021-07-21 10:36:28 -07:00
Dheepak Krishnamurthy
08920a3288
Fix shell not reverting to oldshell
2021-07-14 14:00:04 -06:00
Dheepak Krishnamurthy
52b911aed6
Fix buffer existing bug
2021-07-07 21:38:54 -06:00
Dheepak Krishnamurthy
480e1c1c05
Format files
2021-07-07 21:37:27 -06:00
Dheepak Krishnamurthy
9a2e5a3241
Merge branch 'master' into bug/support-fish-shell
2021-07-07 21:33:45 -06:00
Dheepak Krishnamurthy
acc383d1ea
Fix submodule bug
2021-05-10 00:38:27 -06:00
Dheepak Krishnamurthy
fb5ab7d26a
Merge pull request #37 from jdelkins/master
...
Add option to use plenary.nvim to manage floating window
2021-03-25 15:38:09 -06:00
Dheepak Krishnamurthy
917bc0a555
Remove print
2021-03-24 19:16:12 -06:00
Dheepak Krishnamurthy
5787f9b3da
Add double quotes
2021-03-24 19:15:34 -06:00
Dheepak Krishnamurthy
854b6738f1
Add fn.exepath(cmd)
2021-03-24 19:07:24 -06:00
Joel D. Elkins
e0b272f771
Add option to use plenary.nvim to manage floating window
2021-03-24 17:32:57 -05:00
Joel D. Elkins
3a8fb14119
fnameescape path before calling lazygit
2021-03-24 16:33:44 -05:00
Joel D. Elkins
7672859d9c
Don't use -p if GIT_DIR or GIT_WORK_TREE are set
...
Setting `-p <path>` is the same as setting `-w <path> -g <path>/.git/`,
but this eliminates the possibility that the git dir could be outside of
the work tree, or else named something besides `.git`. Use case for me
is my configuration files are VC'ed in a git repo, and checked out into
`$HOME` (the work tree). The repo is a bare repo elsewhere.
2021-01-21 12:27:02 -06:00
Dheepak Krishnamurthy
df7ba07b0f
Support fish shell
2020-10-28 03:52:22 -06:00
Yiqun Ding
db6ecf4acc
Add option to customize popup window corners
...
The default corners are round and may not look so good with some
font, add this option g.lazygit_floating_window_corner_chars to
allow user to customize the corner characters.
2020-10-16 21:32:59 +08:00
Dheepak Krishnamurthy
66874bd5f6
Fix variables
2020-08-09 20:18:41 -06:00
Dheepak Krishnamurthy
4c337c8b12
Make LazyGitConfig work
2020-08-09 19:50:06 -06:00
Dheepak Krishnamurthy
e72454e244
Fix lazygit vim fugitive conflict
2020-08-02 09:16:16 -06:00
Dheepak Krishnamurthy
56225a9546
Make plugin work as expected when using nvr
2020-07-18 20:54:44 -06:00
Dheepak Krishnamurthy
259c208771
Fix startify issue
2020-07-18 17:12:48 -06:00
Dheepak Krishnamurthy
e3aac4d907
Make buffer persistent
2020-07-18 17:03:06 -06:00
Dheepak Krishnamurthy
719c4ca2c1
Make buffer unlisted
2020-07-18 11:04:46 -06:00
Dheepak Krishnamurthy
f9ed4db2f5
Use global file_buffer
2020-07-18 10:50:34 -06:00
Dheepak Krishnamurthy
2d4d0e7b01
Add function for git_editor_prefix
2020-07-18 10:46:59 -06:00
Dheepak Krishnamurthy
485ca36e87
Add documentation and add LazyGitFilter entry point
2020-07-18 01:24:10 -06:00
Dheepak Krishnamurthy
8c8698428d
Remove lua execute function which is no longer needed
2020-07-18 01:19:11 -06:00
Dheepak Krishnamurthy
1bcceaa3a8
Change file_buffer to be listed
2020-07-18 01:18:14 -06:00
Dheepak Krishnamurthy
30dd2867d1
Add comment
2020-07-18 01:09:39 -06:00
Dheepak Krishnamurthy
58d4cbd7ff
Merge pull request #10 from acristoffers/master
...
Fixes paths with spaces
2020-07-18 00:50:47 -06:00
Dheepak Krishnamurthy
10984df491
Use latest neovim lua native callback
2020-07-18 00:46:31 -06:00
Álan Crístoffer
b539740486
Fixes paths with spaces
...
As it is, when trying to call lazygit with a file that contains a space char in its path will fail, as the path will be broken into two arguments when passed to lazygit. The quotes I added fixes that. Then, there is the fact that the path returned by git has a newline at the end, so I trim the path to remove newlines at the beginning and end of paths. This version works with projects I have inside "Google Drive".
I DID NOT TEST THIS, but are basically the same changes I made on the other branch.
2020-06-25 22:18:40 -03:00
Dheepak Krishnamurthy
348b4383ed
Fix getcwd function call
2020-05-01 15:33:02 -06:00
Dheepak Krishnamurthy
3ac95f3752
Add lazygitfilter
2020-04-12 23:33:49 -06:00
Dheepak Krishnamurthy
da366bbad2
Make file_buffer a local variable
2020-04-12 23:33:34 -06:00
Dheepak Krishnamurthy
0143351eae
Fix floating_window_scaling_factor being a table or float
2020-04-12 23:22:36 -06:00