-
Notifications
You must be signed in to change notification settings - Fork 21
neuron v2 support #62
Comments
Sorry, slightly off topic for this issue, but was this actually a v2 change? I've noticed this plugin being broken on neuron |
|
It looks like this might be a more extensive change than just tweaking the command for listing zettels. Is there any documentation on the return format for I'd also be hesitant to rely on |
Will there be a binary release of Neuron 2? I need that to use the plugin against since I deleted all my Nix environment (I love Nix, but my computer is not good enough for it). |
nixpkgs static builds are broken in |
Nope; but we should probably clean up its JSON output before finalizing 2.0. |
I sadly don't know Haskell or have time to learn it right now, but once the JSON format is 'stable' for v2.0 I plan on attempting to fix up this plugin for it. |
Oh, ok, I didn't know that. I thought binaries were still a thing. I guess I will reinstall nix then. |
I've added Change: srid/neuron#547 Docs: https://neuron.zettel.page/query.html (do a full browser refresh if you see the old docs) |
@chiefnoah take a look at the new (final?) query interface ^ hopefully that's sufficient to use it in neuron.vim |
also checkout |
The Example: "PluginData": [
[
[
"DirTree",
[]
],
{
"dirParent": "index",
"meta": null,
"childrenTag": null,
"tags": [
"root"
]
}
],
[
[
"Links",
[]
],
[
[
[
"0de24d86",
"cf"
],
[]
],
[
[
"neuron",
"folge"
],
[]
]
]
],
[
[
"Tags",
[]
],
{
"Queries": [
[
"TagQuery_TagZettel",
"zettelkasten"
]
],
"Tagged": [
"zettelkasten"
]
}
],
[
[
"UpTree",
[]
],
[]
]
] The rest of it is fairly obvious, but this is laid out in a rather confusing way and I'm not quite sure how to interpret it. |
PluginData is an internal detail of neuron (used by plugins to store internal data); what are you looking to use it for?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Saturday, January 30th, 2021 at 4:39 PM, Noah Pederson ***@***.***> wrote:
The PluginData JSON structure is still rather confusing. Can you write up some documentation on how to correctly interpret that?
Example:
"
PluginData
"
: [
[
[
"
DirTree
"
,
[]
],
{
"
dirParent
"
:
"
index
"
,
"
meta
"
:
null
,
"
childrenTag
"
:
null
,
"
tags
"
: [
"
root
"
]
}
],
[
[
"
Links
"
,
[]
],
[
[
[
"
0de24d86
"
,
"
cf
"
],
[]
],
[
[
"
neuron
"
,
"
folge
"
],
[]
]
]
],
[
[
"
Tags
"
,
[]
],
{
"
Queries
"
: [
[
"
TagQuery_TagZettel
"
,
"
zettelkasten
"
]
],
"
Tagged
"
: [
"
zettelkasten
"
]
}
],
[
[
"
UpTree
"
,
[]
],
[]
]
]
The rest of it is fairly obvious, but this is laid out in a rather confusing way and I'm not quite sure how to interpret it.
—
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](#62 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAAA7HUIB42DYR2GOQW4EVLS4R4BNANCNFSM4WQ2NNHA).
|
For fixing |
@chiefnoah Just added |
I think my changes to support v2 are done and can be seen on this branch. @fiatjaf how do you want to handle the v1/v2 split for this plugin? |
The query has changed; will need something like this to quickly pull in all zettels.
The text was updated successfully, but these errors were encountered: