irongit

Configure synchronization of files and directories through a plugin.

turned off the ignore part for now

huncholanehuncholaneauthored
parent 6372a43commit 20ee0a6c6c2e8e82e77058fb2621682555a1a895Browse files

1 file changed, +2 -2

+2-2lua/syncmap/utils.lua
@@ -45,7 +45,7 @@ end
4545
4646 ---@param s string
4747 function M.string_to_exclude_from(s)
48- return "--exclude_from='" .. s .. "'"
48+ return "--exclude-from='" .. s .. "'"
4949 end
5050
5151 ---Gets the exclude from using parent pattern
@@ -78,7 +78,7 @@ function M.extract_flags(m)
7878 local stat = vim.uv.fs_stat(src)
7979 if stat and stat.type == "directory" then
8080 if file_exists(with_trailing_slash(src) .. m.exclude_from) then
81- table.insert(flags, exclude_from)
81+ -- table.insert(flags, exclude_from)
8282 end
8383 end
8484 return flags