diff --git a/after/queries/norg/highlights.scm b/after/queries/norg/highlights.scm index a866987..3549566 100644 --- a/after/queries/norg/highlights.scm +++ b/after/queries/norg/highlights.scm @@ -47,8 +47,7 @@ (unordered_list_prefix) @markup.list (ordered_list_prefix) @markup.list (quote) @markup.quote -((null_list_prefix) @conceal - (#set! conceal "")) +((null_list_prefix) @conceal) (bold) @markup.strong (italic) @markup.italic @@ -57,7 +56,7 @@ (verbatim) @markup.raw.verbatim @nospell (inline_macro "\\" @function.macro - name: (_) @function.macro) + name: (_) @function.macro) @nospell (paragraph) @spell (_ @@ -79,6 +78,8 @@ target: (scoped_target . ":" @conceal) (#set! conceal "")) +(_ + markup: (_) @spell) ;; only conceal target when markup exists for that link (link diff --git a/after/queries/norg/injections.scm b/after/queries/norg/injections.scm index 94b64df..7736419 100644 --- a/after/queries/norg/injections.scm +++ b/after/queries/norg/injections.scm @@ -1,6 +1,6 @@ (ranged_tag name: (_) @_keyword - (#any-of? @_keyword "code" "embed") + (#any-of? @_keyword "code" "embed" "details") ;; TODO: only accept first argument as @_lang param: (_) @injection.language line: (_) @injection.content