Suggestions for Custom Highlights #335
MeanderingProgrammer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For various features (like concealing custom sections of text) this plugin and its author take the approach of not re-inventing the wheel.
treesitter
integration in neovim provides the ability to extendhighlights
, as such you can use a local query to hide anything you want without relying on modifications to this plugin. Here I will maintain a list of potentially useful ones sourced from the community as well some potentially useful information about them.Adding a custom highlight involves creating (or appending to) a file located in your configuration root. The specific file depends on the parser being customized. The file information will be provided along with the suggested contents.
Hiding Backslash Escapes
File:
queries/markdown_inline/highlights.scm
Contents:
Feature Request: #331
Attempt to Upstream: nvim-treesitter/nvim-treesitter#6742
Beta Was this translation helpful? Give feedback.
All reactions