File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" Vim auto-load script
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: November 15 , 2011
3+ " Last Change: November 18 , 2011
44" URL: http://peterodding.com/code/vim/notes/
55
66" Note: This file is encoded in UTF-8 including a byte order mark so
77" that Vim loads the script using the right encoding transparently.
88
9- let g: xolox #notes#version = ' 0.12.10 '
9+ let g: xolox #notes#version = ' 0.12.11 '
1010
1111function ! xolox#notes#shortcut () " {{{1
1212 " The "note:" pseudo protocol is just a shortcut for the :Note command.
@@ -250,7 +250,7 @@ function! xolox#notes#save() abort " {{{1
250250 return
251251 endif
252252 let bang = v: cmdbang ? ' !' : ' '
253- execute ' saveas' . bang . ' ' . fnameescape (newpath)
253+ execute ' saveas' . bang fnameescape (newpath)
254254 " XXX If {oldpath} and {newpath} end up pointing to the same file on disk
255255 " yet xolox#misc#path#equals() doesn't catch this, we might end up
256256 " deleting the user's one and only note! One way to circumvent this
You can’t perform that action at this time.
0 commit comments