Skip to content

Commit

Permalink
feat: add highlights to &variable&s (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Jun 7, 2023
1 parent bbb25ff commit 97080f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lua/neorg/modules/core/highlights/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ module.config.public = {
[""] = "+@number",
delimiter = "+NonText",
},
inline_macro = {
[""] = "+@neorg.insertions.inline_macro.name",
variable = {
[""] = "+@function.macro",
delimiter = "+NonText",
},
verbatim = {
Expand Down
2 changes: 1 addition & 1 deletion queries/norg/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
(subscript ["_open" "_close"] @neorg.markup.subscript.delimiter) @neorg.markup.subscript
(inline_comment ["_open" "_close"] @neorg.markup.inline_comment.delimiter) @neorg.markup.inline_comment
(inline_math ["_open" "_close"] @neorg.markup.inline_math.delimiter) @neorg.markup.inline_math
(inline_macro ["_open" "_close"] @neorg.markup.variable.delimiter) @neorg.markup.inline_macro
(inline_macro ["_open" "_close"] @neorg.markup.variable.delimiter) @neorg.markup.variable

; Free-form Markup
[(free_form_open)
Expand Down

0 comments on commit 97080f7

Please sign in to comment.