diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 08:17:31 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 08:17:31 +0900 |
| commit | 1432d08d7107abe873c733c64493d69d90364a1d (patch) | |
| tree | 8fbe52c93ecfdf9c35e5296a7316f170e73f29bb /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua | |
| parent | 545bd2d72f1e76d8b86611e16b8d2608d0e30f26 (diff) | |
modified core/autocmds.lua, modified plugins/markdown.lua, modified plugins/sessions.lua, modified plugins/wiki.lua
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua index cc9e8d8..d7e9db7 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/markdown.lua @@ -128,8 +128,7 @@ end return { { - "meanderingprogrammer/render-markdown.nvim", - enabled = true, + "MeanderingProgrammer/render-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 @@ -157,6 +156,7 @@ return { }, file_types = { "markdown", "vimwiki" }, heading = { + enabled = true, sign = false, icons = { " ", " ", " ", " ", " ", " " }, }, @@ -167,64 +167,64 @@ return { }) vim.treesitter.language.register("markdown", "vimwiki") end, - keys = { - { - "<leader>mrt", - function() - require("render-markdown").buf_toggle() - end, - desc = "Toggle render-markdown", - }, - { - "<leader>mre", - function() - require("render-markdown").buf_enable() - end, - desc = "Enable render-markdown", - }, - { - "<leader>mrx", - function() - require("render-markdown").buf_disable() - end, - desc = "Disable render-markdown", - }, - { - "<leader>mr+", - function() - require("render-markdown").expand() - end, - desc = "Expand conceal margin", - }, - { - "<leader>mr-", - function() - require("render-markdown").contract() - end, - desc = "Contract conceal margin", - }, - { - "<leader>mrl", - function() - require("render-markdown").log() - end, - desc = "Open render-markdown log", - }, - { - "<leader>mrc", - function() - require("render-markdown").config() - end, - desc = "Show render-markdown config diff", - }, - { - "<leader>mrd", - function() - require("render-markdown").debug() - end, - desc = "Debug render-markdown marks", - }, - }, + -- keys = { + -- { + -- "<leader>mrt", + -- function() + -- require("render-markdown").buf_toggle() + -- end, + -- desc = "Toggle render-markdown", + -- }, + -- { + -- "<leader>mre", + -- function() + -- require("render-markdown").buf_enable() + -- end, + -- desc = "Enable render-markdown", + -- }, + -- { + -- "<leader>mrx", + -- function() + -- require("render-markdown").buf_disable() + -- end, + -- desc = "Disable render-markdown", + -- }, + -- { + -- "<leader>mr+", + -- function() + -- require("render-markdown").expand() + -- end, + -- desc = "Expand conceal margin", + -- }, + -- { + -- "<leader>mr-", + -- function() + -- require("render-markdown").contract() + -- end, + -- desc = "Contract conceal margin", + -- }, + -- { + -- "<leader>mrl", + -- function() + -- require("render-markdown").log() + -- end, + -- desc = "Open render-markdown log", + -- }, + -- { + -- "<leader>mrc", + -- function() + -- require("render-markdown").config() + -- end, + -- desc = "Show render-markdown config diff", + -- }, + -- { + -- "<leader>mrd", + -- function() + -- require("render-markdown").debug() + -- end, + -- desc = "Debug render-markdown marks", + -- }, + -- }, }, { -- Install markdown preview, use npx if available. |
