Closed ghost closed 2 years ago
I have the same issue except it's input
instead of ui
for me, as reported in #2
Hi, this is a strange issue. I am beginning to suspect I am using a lua api that is too recent (I am on 0.6.0-dev...).
I just pushed a change that uses a the vim function directly. That should do the trick. Me pushing automatically closed the issue. Please feel free to re-open if you still encounter problems. Fingers crossed, though!
First off, awesome project! Pretty stocked to get this working right now. I have almost lua experience other than my nvim config so struggling to debug this. Hopefully this will help you reproduce it?
Glad you like it BTW :smile:
Sorry, one more thing. If creating notes via new_note()
does not work, you can always create a link to the [[new note]]
, and 'follow' that link - which will create the note since by default follow_create_nonexisting
is true
.
Thank you! This fixed my issue, :)
Yaaay! Can confirm that this fixed my issue too!
Now that Neovim 0.6 is out and Telescope itself requires 0.6, maybe you can go back to the lua API method that you were using earlier?
Hi,
First off, awesome project! Pretty stocked to get this working right now. I have almost lua experience other than my nvim config so struggling to debug this. Hopefully this will help you reproduce it?
I'm using neovim 0.5.1 on archlinux. I have wiped out my existing neovim config and have only the following in my init.lua right now.
I ran
:PackerUp
to install the plugins then restarted neovim. I think all other commands I tested work great.Calling
:lua require("telekasten").new_note()
gives the following error though.E5108: Error executing lua ...ite/pack/packer/start/telekasten.nvim/lua/telekasten.lua:463: attempt to index field 'ui' (a nil value)
Output from
debug = true
Thanks!
EDIT I was able to reproduce this on a clean vm running void linux as well. Same version of neovim.