isolate markdown plugin to customs

This commit is contained in:
Baipyrus 2024-03-30 16:23:36 +01:00
parent 76f5f8ef7b
commit 2c810036ff
2 changed files with 10 additions and 11 deletions

View File

@ -0,0 +1,10 @@
-- Markdown preview plugin
return {
'iamcco/markdown-preview.nvim',
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
build = 'cd app; npm install',
init = function()
vim.g.mkdp_filetypes = { 'markdown' }
end,
ft = { 'markdown' },
}

View File

@ -22,17 +22,6 @@ require('lazy').setup({
-- Processing-Java
'sophacles/vim-processing',
-- Markdown preview plugin
{
'iamcco/markdown-preview.nvim',
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
build = 'cd app; npm install',
init = function()
vim.g.mkdp_filetypes = { 'markdown' }
end,
ft = { 'markdown' },
},
-- Smooth scroll plugin and keymaps
{
'karb94/neoscroll.nvim',