add undotree and markview.nvim

This commit is contained in:
krolxon 2024-10-30 09:55:17 +05:30
parent eee3196baf
commit a9cf2a5ea8
2 changed files with 34 additions and 13 deletions

View File

@ -46,3 +46,6 @@ require("harpoon").setup()
map("n", "<F4>", "<cmd>CompilerOpen<cr>") map("n", "<F4>", "<cmd>CompilerOpen<cr>")
map("n", "<S-F4>", "<cmd>CompilerStop<cr>" .. "<cmd>CompilerRedo<cr>") map("n", "<S-F4>", "<cmd>CompilerStop<cr>" .. "<cmd>CompilerRedo<cr>")
map("n", "<F5>", "<cmd>CompilerToggleResults<cr>") map("n", "<F5>", "<cmd>CompilerToggleResults<cr>")
-- UndotreeToggle
map("n", "<leader>u", "<cmd>UndotreeToggle<cr>")

View File

@ -12,15 +12,31 @@ return {
end, end,
}, },
-- { {
-- "nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
-- opts = { opts = {
-- ensure_installed = { ensure_installed = {
-- "vim", "lua", "vimdoc", "vim",
-- "html", "css" "lua",
-- }, "vimdoc",
-- }, "rust",
-- }, "python",
"c",
"regex",
"html",
"css",
"javascript",
"markdown",
"markdown_inline",
"tsx"
},
},
},
{
"mbbill/undotree",
cmd = "UndotreeToggle",
},
-- Misc -- Misc
{ {
@ -44,10 +60,12 @@ return {
}, },
{ {
"MeanderingProgrammer/render-markdown.nvim", "OXY2DEV/markview.nvim",
opts = {}, lazy = false,
ft = "markdown", dependencies = {
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons "nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
}, },
{ {