nvim-neorg / neorg

Modernity meets insane extensibility. The future of organizing your life in Neovim.
GNU General Public License v3.0
6.08k stars 202 forks source link

no highlight in inline-codeblock #1464

Closed peter-lyr closed 2 weeks ago

peter-lyr commented 2 weeks ago

Prerequisites

Neovim Version

NVIM v0.10.0

Neorg setup

-- neorg v8.6.0

require 'neorg'.setup { load = { ['core.defaults'] = {}, ['core.concealer'] = {}, ['core.esupports.metagen'] = { config = { update_date = false, type = 'empty', author = 'peter-lyr', timezone = 'implicit-local', }, }, ['core.export'] = {}, ['core.export.markdown'] = { config = { extensions = 'all', }, }, ['core.ui'] = {}, ['core.ui.calendar'] = {}, -- 解决中文乱码问题需要将Windows display language改为英文(美国) ['core.tempus'] = {}, ['core.dirman'] = { config = { workspaces = { work = DepeiRepos .. '\work', life = DepeiRepos .. '\life', study = DepeiRepos .. '\study', }, default_workspace = 'work', }, }, ['core.integrations.telescope'] = {}, }, }

Actual behavior

image

Expected behavior

has highlight in inline-codeblock

Steps to reproduce

open a .norg file in nvim.exe

Potentially conflicting plugins

No response

Other information

No response

Help

None

Implementation help

No response

champignoom commented 2 weeks ago

The `VERSIONID` part already looks highlighted to me.

What highlighting do you expect?

vhyrro commented 2 weeks ago

Hey,

Inline code blocks do not yet allow a language to be specified for them, therefore they cannot have any syntax highlight applied to them. Otherwise, the highlight looks good to me. Closing for now, but feel free to reopen if you still have any questions :)