-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
highlightstable, 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-100and100, 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
highlightstable 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 definitions (
$ Definition). -
(table)
Highlights for all the delimiter types. These include:
-
---- the weak delimiter -
===- the strong delimiter -
___- the horizontal rule
-
-
(table)
Highlights for footnotes (
^ My Footnote). -
(table)
Highlights for each individual heading level.
-
(table)
-
(table)
-
(table)
-
(table)
Highlights for all the possible levels of ordered and unordered lists.
-
(table)
Highlights for inline markup.
This is all the highlights like
bold,italicand 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.autocommandscore.clipboardcore.clipboard.code-blockscore.completioncore.concealercore.defaultscore.dirmancore.dirman.utilscore.esupports.hopcore.esupports.indentcore.esupports.metagencore.exportcore.export.htmlcore.export.markdowncore.fscore.highlightscore.integrations.coq_nvimcore.integrations.nvim-cmpcore.integrations.nvim-compecore.integrations.treesittercore.iterocore.journalcore.keybindscore.latex.renderercore.looking-glasscore.neorgcmdcore.neorgcmd.commands.returncore.pivotcore.presentercore.promocore.qol.toccore.qol.todo_itemscore.queries.nativecore.scannercore.storagecore.summarycore.syntaxcore.tanglecore.tempuscore.text-objectscore.todo-introspectorcore.uicore.ui.calendar