nvim-neorg / neorg

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

Highlight for NeorgCodeBlock is cleared #378

Closed max397574 closed 2 years ago

max397574 commented 2 years ago

Prerequisites

Neovim Version

NVIM v0.7.0-dev+nightly-1322-g30c9c8815

Neorg setup


({
    load = {
        ["core.defaults"] = {}, -- Load all the default modules
        -- ["core.integrations.telescope"] = {},
        -- ["core.norg.completion"] = {
        --     config = {
        --         engine = "nvim-cmp",
        --     },
        -- },
        ["external.zettelkasten"] = {},
        ["core.norg.concealer"] = {
            config = {
                markup_preset = "dimmed",
                icon_preset = "diamond",
                icons = {
                    marker = {
                        icon = " ",
                    },
                    todo = {
                        enable = true,
                        pending = {
                            -- icon = ""
                            icon = "",
                        },
                        uncertain = {
                            icon = "?",
                        },
                        urgent = {
                            icon = "",
                        },
                        on_hold = {
                            icon = "",
                        },
                        cancelled = {
                            icon = "",
                        },
                    },
                },
            },
        },
        ["core.presenter"] = {
            config = {
                zen_mode = "zen-mode",
                slide_count = {
                    enable = true,
                    position = "top",
                    count_format = "[%d/%d]",
                },
            },
        },
        ["core.keybinds"] = {
            config = {
                default_keybinds = false,
                neorg_leader = "<Leader>o",
            },
        },
        ["core.norg.dirman"] = {
            config = {
                workspaces = {
                    startup = "~/startup.nvim",
                    example_ws = "~/example_workspaces/gtd/",
                    gtd = "~/gtd",
                    dany_gtd = "~/dany_gtd/",
                    notes = "~notes",
                },
            },
        },
        ["core.gtd.base"] = {
            config = {
                workspace = "gtd",
                displayers = {
                    close_after_task_select = false,
                },

                -- workspace = "example_ws",
                -- exclude = { "" },
            },
        },
        ["core.norg.qol.toc"] = {
            config = {
                close_split_on_jump = false,
                toc_split_placement = "left",
            },
        },
        ["core.norg.journal"] = {
            config = {
                journal_folder = "my_journal",
                use_folders = false,
            },
        },
    },
    logger = {
        level = "warn",
    },
})
``

### Actual behavior

highlight cleared

### Expected behavior

highlight not being cleared

### Steps to reproduce

open norg file
:hi NeorgCodeBlock

### Potentially conflicting plugins

_No response_

### Other information

_No response_

### Help

No

### Implementation help

_No response_
danymat commented 2 years ago

Hello, do you still have the bug ?

max397574 commented 2 years ago

no