-
-
Notifications
You must be signed in to change notification settings - Fork 215
Core Highlights
core.highlights
maps all possible highlight groups available throughout
Neorg under a single tree of highlights: @neorg.*
.
-
(table)
Handles the dimming of certain highlight groups.
It sometimes is favourable to use an existing highlight group, but to dim or brighten it a little bit.
To do so, you may use this table, which, similarly to the
highlights
table, will concatenate nested trees to form a highlight group name.The difference is, however, that the leaves of the tree are a table, not a single string. This table has three possible fields:
-
reference
- which highlight to use as reference for the dimming. -
percentage
- by how much to darken the reference highlight. This value may be between-100
and100
, where negative percentages brighten the reference highlight, whereas positive values dim the highlight by the given percentage.
-
-
(table)
The TS highlights for each Neorg type.
The
highlights
table is a large collection of nested trees. At the leaves of each of these trees is the final highlight to apply to that tree. For example:"+@comment"
tells Neorg to link to an existing highlight group@comment
(denoted by the+
prefix). When no prefix is found, the string is treated as arguments passed to:highlight
, for example:gui=bold fg=#000000
.Nested trees concatenate, thus:
tags = { ranged_verbatim = { begin = "+@comment", }, }
matches the highlight group:
@neorg.tags.ranged_verbatim.begin
and converts into the following command:
highlight! link @neorg.tags.ranged_verbatim.begin @comment
-
(table)
Highlights for each individual heading level.
-
(table)
-
(table)
-
(table)
-
(table)
Highlights for inline markup.
This is all the highlights like
bold
,italic
and so on. -
(table)
Highlights for all the possible levels of quotes.
-
(table)
Highlights displayed in all sorts of tag types.
These include:
@
,.
,|
,#
,+
and=
.-
(table)
Highlights for the
@
verbatim tags.-
(table)
-
(table)
Highlights for TODO items.
This strictly covers the
( )
component of any detached modifier. In other words, these highlights only bother with highlighting the brackets and the content within, but not the object containing the TODO item itself.
-
core.autocommands
- Handles the creation and management of Neovim's autocommands.
-
core.integrations.treesitter
- A module designed to integrate Treesitter into Neorg. -
core.latex.renderer
- An experimental module for rendering latex images inline.
core.autocommands
core.clipboard
core.clipboard.code-blocks
core.completion
core.concealer
core.defaults
core.dirman
core.dirman.utils
core.esupports.hop
core.esupports.indent
core.esupports.metagen
core.export
core.export.markdown
core.fs
core.highlights
core.integrations.coq_nvim
core.integrations.nvim-cmp
core.integrations.nvim-compe
core.integrations.treesitter
core.itero
core.journal
core.keybinds
core.latex.renderer
core.looking-glass
core.neorgcmd
core.neorgcmd.commands.return
core.pivot
core.presenter
core.promo
core.qol.toc
core.qol.todo_items
core.queries.native
core.scanner
core.storage
core.summary
core.syntax
core.tangle
core.tempus
core.text-objects
core.todo-introspector
core.ui
core.ui.calendar