Comments (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.
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.
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.
Unfortunately not, the PR is currently causing some regressions in highlighting with injections and we don't yet know why.
from tree-sitter-norg3.
from tree-sitter-norg3.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tree-sitter-norg3.