Coder Social home page Coder Social logo

Comments (5)

gpanders avatar gpanders commented on August 16, 2024 5

What should we do when the terminal doesn't support OSC8? Maybe just make neovim decide?

Plugins don't need to worry about this. Terminals will ignore escape sequences they don't understand (if they don't, it's their bug to fix).

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?

You can use any capture name you want. All that is required is (#set! @a "url" @b) to make the node captured by @a have a hyperlink with the URL being the text of the node captured by @b.

from tree-sitter-norg3.

gpanders avatar gpanders commented on August 16, 2024 4

neovim/neovim#27132 has been merged. If you run into any issues integrating this into your plugin please let me know!

from tree-sitter-norg3.

pysan3 avatar pysan3 commented on August 16, 2024

Thanks for your insights @gpanders !

Looks like it'll be even easier than I thought thanks to your PR.

In that regard, do you have any rough estimate on when the second PR would be merged?

from tree-sitter-norg3.

gpanders avatar gpanders commented on August 16, 2024

Unfortunately not, the PR is currently causing some regressions in highlighting with injections and we don't yet know why.

from tree-sitter-norg3.

pysan3 avatar pysan3 commented on August 16, 2024

from tree-sitter-norg3.

Related Issues (5)

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.