Giter VIP home page Giter VIP logo

tree-sitter-norg3's People

Contributors

boltlessengineer avatar vhyrro avatar vorecklukas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tree-sitter-norg3's Issues

Test method for wasm binary

we need to test the parser in both native build & wasm build because there can be some runtime errors in wasm.

For example: iswpunct() throws error in wasm.

Test incremental parsing

There are some edge cases when incremental parsing is needed.

Easy example is single-line paragraph for heading title

* heading
* heading

Try remove second * . now second line also be part of first heading’s title.

I’m sure there are more bugs that only occur incremental parsing.
We need some test method for these cases.

feat: Make concealed links print with OSC8 escape sequences

Originated here: nvim-neorg/neorg#1318


Feature description

This would allow users to click a concealed link to open it a browser, as is possible in Emacs org-mode. E.g. image

See here for more info about OSC 8. See here for some examples.

Most major terminals support it already, and if one doesn't, I don't think printing the sequences will break anything.

Originally posted by @carterprince in nvim-neorg/neorg#1318.


Comments

Currently (v1 + neorg) the link_target_url is mapped to @conceal inside highlight.scm but maybe we can map it to @text.reference as shown in the linked PR?
I might be completely wrong and if it’s more than a hassle, just ignore this plz

@pysan3

that’s cool. unfortunately I’m not sure if my mobile terminal supports OSC8 links.
I’m going to home tomorrow, but I’m planning to do some mobile works in this week. So I’ll keep that in todos and apply when that PR is merged.
@pysan3 can you open an issue on official v3 repo so we can keep track of it?

@boltlessengineer


Blocked by

Is this repository maintained?

Hi guys,
I'd like to contribute to your tree-sitter grammar. Is this still maintained? If yes, do you have any tasks at hand?
What is the status of the current grammar?

My longterm goal is to write an LSP for norg files in rust. For this to work I depend on this crate. There is a different grammar published to crates.io. Which one should one pick, this (unpublished) or the published version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.