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
Dheepak Krishnamurthy
ab02b864db
Try actual and symlinked files
2020-04-12 07:21:21 -06:00
Dheepak Krishnamurthy
bdea17cd4e
Use finddir instead of rev-parse
2020-04-12 06:16:01 -06:00
Dheepak Krishnamurthy
d7a2175218
Remove GIT_EDITOR for Windows
2020-04-12 06:00:42 -06:00
Dheepak Krishnamurthy
5acb11ad93
Use bdelete! instead of bwipeout!
2020-04-10 16:06:44 -06:00
Dheepak Krishnamurthy
e5ab1d66b6
Use cmd as multiline string
2020-04-10 14:36:31 -06:00
Dheepak Krishnamurthy
de00c93429
Remove setup function
2020-04-10 14:36:12 -06:00
Dheepak Krishnamurthy
9b80b417cb
Use WinLeave instead of BufWipeout for better experience
2020-04-09 15:34:24 -06:00
Dheepak Krishnamurthy
2b6117a75d
Fix empty file bug
2020-04-08 14:08:49 -06:00
Dheepak Krishnamurthy
3e13ea3bb2
Make neovim the default git editor
2020-04-08 14:03:11 -06:00
Dheepak Krishnamurthy
fb3f98f805
Add LazyGitConfig command
2020-04-08 14:02:29 -06:00
Dheepak Krishnamurthy
ef5e09e2cf
Deal with symlinks appropriately
2020-04-08 12:26:04 -06:00
Dheepak Krishnamurthy
49f9fc812f
Use globals for variables
2020-04-08 11:20:13 -06:00
Dheepak Krishnamurthy
770f9af1c5
Add callback on BufLeave
2020-04-08 11:05:35 -06:00
Dheepak Krishnamurthy
1d62d6ee63
Reorder functions
2020-04-08 10:58:34 -06:00
Dheepak Krishnamurthy
f0b3b5c11d
Make code more idiomatic lua
2020-04-07 06:46:25 -06:00
Dheepak Krishnamurthy
f46ee1e5f3
Use vim.cmd
2020-04-06 17:22:22 -06:00
Dheepak Krishnamurthy
419158b5e0
Use vim.o for more integrated interface to options
2020-04-06 17:10:14 -06:00
Dheepak Krishnamurthy
57ea64958a
Change buffer to file_buffer
2020-04-06 16:41:08 -06:00
Dheepak Krishnamurthy
83463bb8af
Use lua on_exit callback
2020-04-06 16:40:35 -06:00
Dheepak Krishnamurthy
61e88a4a7f
Call startinsert after calling termopen
2020-04-06 11:01:57 -06:00
Dheepak Krishnamurthy
fe8874d156
Use execute instead of api.nvim_command
2020-04-06 11:00:28 -06:00
Dheepak Krishnamurthy
97beeab5fb
Use global window
2020-04-06 10:30:30 -06:00
Dheepak Krishnamurthy
2704a71bf1
Add floating window scaling factor
2020-04-05 18:59:08 -06:00
Dheepak Krishnamurthy
3e33c08d7d
Add option to set winblend
2020-04-05 18:08:51 -06:00
Dheepak Krishnamurthy
d9b871a807
Add BufLeave autocommand
2020-04-05 17:24:47 -06:00
Dheepak Krishnamurthy
5afca55c69
Use bd! on exit code == 0
2020-04-05 14:17:43 -06:00
Dheepak Krishnamurthy
a4ef118f32
Add neovim-remote section to the README.md
2020-04-05 13:54:34 -06:00
Dheepak Krishnamurthy
3759d6ab85
Initial commit
2020-04-05 11:24:23 -06:00