Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

&variable& modifier is not highlighted #710

Closed
2 tasks done
xfzv opened this issue Jan 11, 2023 · 2 comments
Closed
2 tasks done

&variable& modifier is not highlighted #710

xfzv opened this issue Jan 11, 2023 · 2 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@xfzv
Copy link
Contributor

xfzv commented Jan 11, 2023

Prerequisites

  • I am using either 0.7 stable with the 0.0.12 tag or the latest compiled Neovim version
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.8.2 Build type: Release LuaJIT 2.1.0-beta3

Neorg setup

return {
    "nvim-neorg/neorg",
    build = ":Neorg sync-parsers",
    dependencies = "nvim-lua/plenary.nvim",
    config = function()
	require("neorg").setup({
	    load = {
	        ["core.defaults"] = {},
		["core.clipboard"] = {},
		["core.clipboard.code-blocks"] = {},
		["core.norg.concealer"] = {
		    config = {
		        dim_code_blocks = {
			    enabled = true,
			    conceal = true,
			    content_only = true,
			    adaptive = true,
			},
			icon_preset = "diamond",
	            },
                },
            },
        })
    end,
}

Actual behavior

All modifiers are highlighted except &variable&:
image

I did run :Neorg sync-parsers.

Expected behavior

&variable& is highlighted.

Steps to reproduce

  1. Open any .norg file
  2. Paste the following from specification.norg:
  - \*bold\*: *bold*
  - \/italic\/: /italic/
  - \_underline\_: _underline_
  - \-strike-through\-: -strike-through-
  - \!spoiler\!: !spoiler!
  - \^superscript\^: ^superscript^ (cannot be nested into `subscript`)
  - \,subscript\,: ,subscript, (cannot be nested into `superscript`)
  - \`inline code\`: `inline code` (disables any nested markup - verbatim)
  - \%{** Null Modifier}[null modifier]\%: %null modifier%
  - \$inline math\$: $f(x) = y$ (verbatim)
  - \&variable\&: &variable& (verbatim)
  1. All modifiers are highlighted except &variable& like on screenshot

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

@xfzv xfzv added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Jan 11, 2023
@d-r-a-b d-r-a-b moved this to long-term in sorting neorg issue tracker Apr 30, 2023
@d-r-a-b d-r-a-b moved this from long-term to implementable-now in sorting neorg issue tracker Apr 30, 2023
@vhyrro
Copy link
Member

vhyrro commented Jun 7, 2023

This has been fixed now in the latest main!

@vhyrro vhyrro closed this as completed Jun 7, 2023
@github-project-automation github-project-automation bot moved this from low-hanging-fruit to done in sorting neorg issue tracker Jun 7, 2023
@xfzv
Copy link
Contributor Author

xfzv commented Jun 7, 2023

Can confirm it works fine now, thanks @vhyrro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

No branches or pull requests

2 participants