oberblastmeister / neuron.nvim

Make neovim the best note taking application
MIT License
398 stars 34 forks source link

Build lua table from JSON data #7

Closed frandsoh closed 3 years ago

frandsoh commented 3 years ago

I believe it would make more sense to build a lua table with the data from neuron query --graph once in a while. That way we have all the correct data at hand, when we need it. Example: When look for links (to make extmarks e.g), we are now able to know what we are looking for from the get go. It'll also allow us to point out:

oberblastmeister commented 3 years ago

We need to find a way to update the graph. Are we just going to let a timer run with the update function? Or update on save?

oberblastmeister commented 3 years ago

sql.nvim looks very promising. Maybe we could serialize the lua table? Not sure if that would work, just an idea

frandsoh commented 3 years ago

After the latest update to Neuron 1.9.7 this is no longer relevant. Starting over again. I'll take a look at sql.nvim 👍