From 6ffe89a8260294b9fbd5f51b44c327e80d2c3dcb Mon Sep 17 00:00:00 2001 From: Wesley Irvin Date: Sun, 20 Oct 2024 15:39:48 -0400 Subject: [PATCH] Better Markdown Added in the plugin 'MeanderingProgrammer/render-markdown.nvim' to supplement the markdown rendering to make it better and add more features. --- nvim/dot-config/nvim/lua/plugins/markdown.lua | 11 +++++++++++ nvim/dot-config/nvim/lua/plugins/treesitter.lua | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 nvim/dot-config/nvim/lua/plugins/markdown.lua diff --git a/nvim/dot-config/nvim/lua/plugins/markdown.lua b/nvim/dot-config/nvim/lua/plugins/markdown.lua new file mode 100644 index 0000000..a7361fa --- /dev/null +++ b/nvim/dot-config/nvim/lua/plugins/markdown.lua @@ -0,0 +1,11 @@ +return { + "MeanderingProgrammer/render-markdown.nvim", + config = function () + require("render-markdown").setup({ + dependencies = { + 'nvim-treesitter/nvim-treesitter', + 'nvim-tree/nvim-web-devicons', + }, + }) + end +} diff --git a/nvim/dot-config/nvim/lua/plugins/treesitter.lua b/nvim/dot-config/nvim/lua/plugins/treesitter.lua index 60b809d..6dba589 100644 --- a/nvim/dot-config/nvim/lua/plugins/treesitter.lua +++ b/nvim/dot-config/nvim/lua/plugins/treesitter.lua @@ -4,7 +4,7 @@ return{ config = function() local configs = require("nvim-treesitter.configs") configs.setup({ - ensure_installed = { "c", "cmake", "cpp", "lua", "python", "rust", "toml" }, + ensure_installed = { "c", "cmake", "cpp", "lua", "markdown", "markdown_inline", "python", "rust", "toml" }, auto_install = true, highlight = { enable = true }, indent = { enable = true },