OscarCreator / rsync.nvim

neovim plugin which synchronises project with rsync on save.
MIT License
83 stars 12 forks source link

Hooks: on_exit, on_error #89

Closed Dimfred closed 1 year ago

Dimfred commented 1 year ago

Added two hooks, on_exit and on_error, to be called when rsync exits, or errors. This fixes #81

codecov[bot] commented 1 year ago

Codecov Report

Merging #89 (dc05ca8) into master (46ab34a) will increase coverage by 1.2%. The diff coverage is 100.0%.

@@           Coverage Diff            @@
##           master     #89     +/-   ##
========================================
+ Coverage    93.9%   95.2%   +1.2%     
========================================
  Files           5       5             
  Lines         266     271      +5     
========================================
+ Hits          250     258      +8     
+ Misses         16      13      -3     
Impacted Files Coverage Δ
lua/rsync/config.lua 100.0% <100.0%> (ø)
lua/rsync/sync.lua 93.9% <100.0%> (+2.1%) :arrow_up: