-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Every time I open the plugin, it seemingly displays a random note that I didn't create.
The Vim output from SimplenoteList
looks like the following:
1 d|Invoice [] [Fri, 25 Jun 2021 05:25:18
2 what [] [Mon, 28 Jun 2021 19:09:45]
3 Invoice [] [Fri, 25 Jun 2021 05:25:18]
4 [] [Fri, 25 Jun 2021 04:59:36]
5 Anam flat Checklist [] [Tue, 22 Jun 2021 02:56:06]
In the above output, the notes at Line 2-5 are notes I created and displayed as expected. d|Invoice
in Line, however, 1 is not a valid note I generated.
Opening this note outputs the following error:
Error detected while processing function <SNR>62_GetNoteToCurrentBuffer:
line 4:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/chefyeum/Documents/simplenote.vim/autoload/SimplenoteUtilities.py", line 315, in display_n
ote_in_scratch_buffer
firstline = regex.sub("_", note["content"].split("\n")[0])
TypeError: sequence index must be integer, not 'str'
Press ENTER or type command to continue
Metadata
Metadata
Assignees
Labels
No labels