mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
isolate markdown plugin to customs
This commit is contained in:
parent
76f5f8ef7b
commit
2c810036ff
10
lua/custom/plugins/markdown.lua
Normal file
10
lua/custom/plugins/markdown.lua
Normal 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' },
|
||||
}
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user