feat: experimental support for git operations (#290)
This commit is contained in:
parent
354c53080a
commit
1f05774e1c
5 changed files with 184 additions and 1 deletions
|
|
@ -100,6 +100,19 @@ local default_config = {
|
|||
{ "name", "asc" },
|
||||
},
|
||||
},
|
||||
-- EXPERIMENTAL support for performing file operations with git
|
||||
git = {
|
||||
-- Return true to automatically git add/mv/rm files
|
||||
add = function(path)
|
||||
return false
|
||||
end,
|
||||
mv = function(src_path, dest_path)
|
||||
return false
|
||||
end,
|
||||
rm = function(path)
|
||||
return false
|
||||
end,
|
||||
},
|
||||
-- Configuration for the floating window in oil.open_float
|
||||
float = {
|
||||
-- Padding around the floating window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue