I'm trying to write a plugin that will set the 'hidden' attribute in
Windows for:
  swap files
  undo files
  backup files
  viminfo file

I can update swap files on CursorHold and file write, I can update the
viminfo file on VimLeave, and the backup file on BufWritePost. But I
can't figure out how to update the undo file, because when BufWritePost
fires the undo file has not yet been created (or is locked);
filewritable() and filereadable() return 0 during this autocmd event.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to