nvim-neorg / neorg

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

Basic Markup not rendering. #779

Closed ola037 closed 1 year ago

ola037 commented 1 year ago

Prerequisites

Neovim Version

v0.8.3

Neorg setup

  use {
      "nvim-neorg/neorg",
      config = function()
          require('neorg').setup {
              load = {
                  ["core.defaults"] = {}, -- Loads default behaviour
                  ["core.norg.concealer"] = {}, -- Adds pretty icons to your documents
                  ["core.norg.dirman"] = { -- Manages Neorg workspaces
                      config = {
                          workspaces = {
                              notes = "~/notes",
                          },
                          default_workspace = "notes",
                      },
                  },
              },
          }
      end,
      run = ":Neorg sync-parsers",
      requires = "nvim-lua/plenary.nvim",
  }

Actual behavior

Standard markup doesn't render.

image

Expected behavior

For italic/bold and friends to actually render.

Steps to reproduce

I've tried with empty config except for Neorg + Treesitter with the same result using 2 different computers.

Potentially conflicting plugins

No response

Other information

No response

Help

Yes, but I don't know how to start. I would need guidance (check question below)

Implementation help

A place to start, where to look for relevant code and tools/commands to troubleshoot.

ola037 commented 1 year ago

Fairly likely I'm just missing something obvious.

max397574 commented 1 year ago

could you try a different colorscheme?

ola037 commented 1 year ago

Tried removing my colorscheme:

--  -- Let's get Solarized.
  use  {
    'svrana/neosolarized.nvim',
    requires = {
      'tjdevries/colorbuddy.nvim'
    },

But no change .. ;/ .. Also tried changing between some of the built-in schemes but sadly no change to the markup.

ola037 commented 1 year ago

Followed a Treesitter troubleshooting tip and did edit | TSBufEnable highlight.

Gave this result:

image

Aside from still showing the **, /// etc. it looks a fair bit better ..

Any idea how I could avoid running that magic command on the buffer?

ola037 commented 1 year ago

Figured it out, was me not configuring Treesitter properly ... Still need to figure out why the **, // etc. still shows and why italic shows as bold.

max397574 commented 1 year ago
  1. :h conceallevel
  2. your colorscheme
jgregoire commented 1 year ago

I had this issue and solved by installing tree-sitter-cli.

Your terminal and/or font might not support, or be configured for, italics.

danymat commented 1 year ago

Hello, I'm closing out this issue as it seems resolved and outside of neorg scope. Please reopen it if I'm wrong. Have a nice day!