replace d2lang support with markdown and mermaid stuff, remove perl
This commit is contained in:
parent
b8ecf5ffab
commit
3958be32e3
4 changed files with 39 additions and 8 deletions
|
@ -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
|
||||
----------------------
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue