Configure synchronization of files and directories through a plugin.
turned off the ignore part for now
1 file changed, +2 -2
+2-2lua/syncmap/utils.lua
| @@ -45,7 +45,7 @@ end | ||
| 45 | 45 | |
| 46 | 46 | ---@param s string |
| 47 | 47 | function M.string_to_exclude_from(s) |
| 48 | - return "--exclude_from='" .. s .. "'" | |
| 48 | + return "--exclude-from='" .. s .. "'" | |
| 49 | 49 | end |
| 50 | 50 | |
| 51 | 51 | ---Gets the exclude from using parent pattern |
| @@ -78,7 +78,7 @@ function M.extract_flags(m) | ||
| 78 | 78 | local stat = vim.uv.fs_stat(src) |
| 79 | 79 | if stat and stat.type == "directory" then |
| 80 | 80 | if file_exists(with_trailing_slash(src) .. m.exclude_from) then |
| 81 | - table.insert(flags, exclude_from) | |
| 81 | + -- table.insert(flags, exclude_from) | |
| 82 | 82 | end |
| 83 | 83 | end |
| 84 | 84 | return flags |