xolox / vim-notes

Easy note taking in Vim
http://peterodding.com/code/vim/notes/
1.6k stars 110 forks source link

Error when searching for non-existing string with :SearchNotes #47

Closed jfremstad closed 11 years ago

jfremstad commented 11 years ago

I have two notes which do not contain "skdjfh".

:SearchNote skdjfh gives this error:

notes.vim 0.23.2: Searching notes using keyword index ..
Error detected while processing function
xolox#notes#search..<SNR>45_internal_search..<SNR>45_vimgrep_wrapper:
line    9:
E683: File name missing or invalid pattern
Error detected while processing function
xolox#notes#search..<SNR>45_internal_search:
line   30:
E171: Missing :endif
Error detected while processing function xolox#notes#search:
line   18:
E171: Missing :endif

Edit: A similar error message when trying this aswell: :SearchNote /skdjfh/

xolox commented 11 years ago

I think both problems you reported are now fixed, can you confirm? If the problem is resolved feel free to close this issue. Thanks for the feedback!

jfremstad commented 11 years ago

The problems are fixed, and it works perfectly. Thank you for the fix!