d2-vim icon indicating copy to clipboard operation
d2-vim copied to clipboard

Fix Undefined variable: b:included_syntaxes

Open devsunb opened this issue 1 year ago • 5 comments

Fixes #10 (and maybe #11)

devsunb avatar Feb 21 '24 09:02 devsunb

I will try it!

hholst80 avatar Apr 30 '24 13:04 hholst80

@hholst80 did it work?

alixander avatar May 02 '24 21:05 alixander

Somewhat inconclusive. It does not seem to properly highlight the markdown (tried both md and markdown but it does not lint the # d2-vim properly.)

No error though :+1:

image

hholst80 avatar May 02 '24 22:05 hholst80

Somewhat inconclusive. It does not seem to properly highlight the markdown (tried both md and markdown but it does not lint the # d2-vim properly.)

No error though 👍

image

Syntax highlighting works for me.

2024-05-03-17-51-33

What colorscheme are you using? I'm using gruvbox-material.

~/.config/nvim/lua/plugins/colorscheme.lua:

return {
  'sainnhe/gruvbox-material',
  priority = 1000,
  config = function()
    vim.g.gruvbox_material_diagnostic_virtual_text = 'colored'
    vim.cmd.colorscheme 'gruvbox-material'
  end,
}

devsunb avatar May 03 '24 08:05 devsunb

No idea why it won't work. image

hholst80 avatar May 06 '24 20:05 hholst80