d2-vim
d2-vim copied to clipboard
Fix Undefined variable: b:included_syntaxes
Fixes #10 (and maybe #11)
I will try it!
@hholst80 did it work?
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:
Somewhat inconclusive. It does not seem to properly highlight the markdown (tried both
mdandmarkdownbut it does not lint the# d2-vimproperly.)No error though 👍
Syntax highlighting works for me.
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,
}
No idea why it won't work.
