neorg icon indicating copy to clipboard operation
neorg copied to clipboard

feat: TS autocomplete

Open benlubas opened this issue 9 months ago • 1 comments

Uses Treesitter to find autocompletion suggestions. Has a few impacts:

  • we'll no longer incorrectly link to norg in a verbatim or like a code block or something
  • now links to line targets like inline <target> with {#|} completions
  • {#|} completions will correctly suggest footers and other targets that it wouldn't before

I just pulled the query from core.esupports.hop. We could maybe refactor that out, b/c currently completion requires hop, which is slightly weird. Lmk if I should do that and what helper module you'd like me to use/make.

benlubas avatar Apr 29 '24 17:04 benlubas

Blocked on #1428, but this PR is now updated so it can be merged right after #1428

benlubas avatar May 19 '24 14:05 benlubas

One conflict that needs fixing, you know what to do :p

vhyrro avatar May 20 '24 17:05 vhyrro