Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Feature Request - Support Neorg #190

Open
ch3n9w opened this issue Nov 25, 2022 · 0 comments
Open

Feature Request - Support Neorg #190

ch3n9w opened this issue Nov 25, 2022 · 0 comments

Comments

@ch3n9w
Copy link

ch3n9w commented Nov 25, 2022

It would be wonderful if symbols-outline.nvim could support neorg like markdown.

hedyhli added a commit to hedyhli/outline.nvim that referenced this issue Nov 22, 2023
- Closes #3
- Ref: simrat39/symbols-outline.nvim#190

Norg contains indents and different types of verbatim tags, I was rather
lazy to read the spec properly and parse norg using regex line-by-line
like markdown, so used treesitter instead. The only requirement is the
`norg` parser for treesitter to be installed. Tested on nvim 0.7.2.

This should lead the way for supporting vimdoc files in a similar
manner.

Documentation for how external providers could look like as of now has
been added.

In the future we could let the provider determine what to do for each
keymap, such as `goto_location` and `toggle_preview`. This would allow
the zk extension[1] to work properly without having to override existing
functions (bad practice).

[1]: zk-org/zk-nvim#134
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant