(set-on-buffer-update vim callback)

Example

(set-on-buffer-update vim (fn [buffer-ptr start-line end-line line-count] (println "Buffer" buffer-ptr "was updated")))