vim-markdown-toc icon indicating copy to clipboard operation
vim-markdown-toc copied to clipboard

Keep undo history

Open powerman opened this issue 7 years ago • 1 comments

It would be cool if TOC modification done automatically done on save won't be added to undo history, so :w and u will undo last change user has done before saving, not TOC modification.

As example, https://github.com/fatih/vim-go plugin correctly does this while reformatting code on save by running external tools like gofmt or goimports.

powerman avatar Dec 17 '17 06:12 powerman

Thanks for your advice. There is a issue #26 talking about this , maybe your suggestion would help.

mzlogin avatar Dec 18 '17 05:12 mzlogin