replace d2lang support with markdown and mermaid stuff, remove perl

This commit is contained in:
Szwendacz99 2023-08-03 16:19:54 +02:00 committed by Maciej Lebiest
parent b8ecf5ffab
commit 3958be32e3
4 changed files with 39 additions and 8 deletions

View file

@ -12,6 +12,12 @@ local function map(mode, lhs, rhs, opts)
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
end
--mardown preview settings
vim.cmd [[
let g:mkdp_echo_preview_url = 1
]]
----------------------
-- general setup start
----------------------

View file

@ -1,5 +1,9 @@
require("lazy").setup({
{ 'terrastruct/d2-vim' },
{
'iamcco/markdown-preview.nvim',
build = function() vim.fn["mkdp#util#install"]() end
},
{ 'mracos/mermaid.vim' },
-- Nvim-tree stuff
{ 'nvim-tree/nvim-web-devicons' }, -- optional, for file icons
{