diff --git a/README.md b/README.md index c446e80..19a97ec 100644 --- a/README.md +++ b/README.md @@ -324,10 +324,10 @@ Telescope find_files hidden=true #### Markdown Preview -Mardkown Preview plugin commands: +Mardkown plugin commands: ```bash -:MarkdownPreview* +:RenderMarkdown* ``` #### Git stuff diff --git a/lua/lazy-load.lua b/lua/lazy-load.lua index d7fd83e..c0119a1 100644 --- a/lua/lazy-load.lua +++ b/lua/lazy-load.lua @@ -1,8 +1,4 @@ require("lazy").setup({ - { - '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 @@ -151,6 +147,15 @@ require("lazy").setup({ 'rcarriga/nvim-notify', opts = require('plugins.nvim-notify').config }, + { + 'MeanderingProgrammer/markdown.nvim', + main = "render-markdown", + opts = {}, + name = 'render-markdown', -- Only needed if you have another plugin named markdown.nvim + --dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins + dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons + }, { 'nvim-lualine/lualine.nvim', opts = require('plugins.lualine').config @@ -159,7 +164,7 @@ require("lazy").setup({ { 'sheerun/vim-polyglot' }, -- themes - { "ellisonleao/gruvbox.nvim", priority = 1000, config = true }, + { "ellisonleao/gruvbox.nvim", priority = 1000, config = true }, --Fuzzy search by Telescope and its dependencies: {