Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diary_update issue lua:76; lua:114 #4

Open
yuzhegan opened this issue May 15, 2022 · 5 comments
Open

diary_update issue lua:76; lua:114 #4

yuzhegan opened this issue May 15, 2022 · 5 comments

Comments

@yuzhegan
Copy link

E5108: Error executing lua: .../.config/nvim/plugged/orgWiki.nvim/lua/orgWiki/diary.lua:76: bad argument #1 to 'gsub' (string expected, got nil)
stack traceback:
[C]: in function 'gsub'
.../.config/nvim/plugged/orgWiki.nvim/lua/orgWiki/diary.lua:76: in function 'insertDiarySep'
.../.config/nvim/plugged/orgWiki.nvim/lua/orgWiki/diary.lua:114: in function <.../.config/nvim/plugged/orgWiki.nvim/lua/orgWiki/diary.lua:112>

@ranjithshegde
Copy link
Owner

ranjithshegde commented May 15, 2022

Thanks for the report. Could you please tell me which version of nvim and what OS you are running?.
Would also be helpful if you could give me a snippet of diary index so that i can see what format it is trying to insert

EDIT: I found mistake and fixed it. Please update and try? if it persists, please supply the above mentioned details

@yuzhegan
Copy link
Author

dear, thanks for your replay, and this issue had been fixed?thank you very much!

@ranjithshegde
Copy link
Owner

ranjithshegde commented May 15, 2022

and this issue had been fixed?

I pushed a fix. Please let me know (after updating the plugin) if it has fixed.

@yuzhegan
Copy link
Author

not fix yet, 2 days ago can be used, but now has the seam issue. when i use wi

@yuzhegan
Copy link
Author

just beacuse my path have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants