Configure synchronization of files and directories through a plugin.
update types
1 file changed, +3 -3
+3-3lua/syncmap/types.lua
| @@ -36,15 +36,15 @@ | ||
| 36 | 36 | |
| 37 | 37 | ---Configurations for syncmap |
| 38 | 38 | ---@class SyncmapOpts |
| 39 | ----@field map? SyncmapConfigMatch[] @[default=~/.dotfiles/nvim/ ~/.config/nvim/] The folders and files to keep synchronized | |
| 39 | +---@field map? SyncmapConfigMatch[] @[default={}] The folders and files to keep synchronized | |
| 40 | 40 | ---@field reverse_sync_on_startup? ReverseSyncOnSpawn |
| 41 | 41 | ---@field rsync? RsyncFlag[] @[default={"-a", "--delete"}] Rsync flags that will be used if a map item doesn't include anything. I.E. Default flags |
| 42 | 42 | ---@field log_level? LogLevel @[default="error"] Sets the log level for syncmap |
| 43 | 43 | ---@field exclude_from? ExcludeFrom |
| 44 | 44 | |
| 45 | ----Final config | |
| 45 | +---Final config used in the plugin code. Use `SyncmapOpts` for your config | |
| 46 | 46 | ---@class FinalSyncmapOpts |
| 47 | ----@field map SyncmapConfigMatch[] @[default=~/.dotfiles/nvim/ ~/.config/nvim] The folders and files to keep synchronized | |
| 47 | +---@field map SyncmapConfigMatch[] @[default={}] The folders and files to keep synchronized | |
| 48 | 48 | ---@field reverse_sync_on_startup ReverseSyncOnSpawn |
| 49 | 49 | ---@field rsync RsyncFlag[] @[default={"-a", "--delete"}] Rsync flags that will be used if a map item doesn't include anything. I.E. Default flags |
| 50 | 50 | ---@field log_level LogLevel @[default="error"] Sets the log level for syncmap |