feat: experimental support for git operations (#290)

This commit is contained in:
Steven Arcangeli 2024-04-19 17:54:21 -04:00
parent 354c53080a
commit 1f05774e1c
5 changed files with 184 additions and 1 deletions

View file

@ -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