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", "<S-F4>", "<cmd>CompilerStop<cr>" .. "<cmd>CompilerRedo<cr>")
map("n", "<F5>", "<cmd>CompilerToggleResults<cr>")
-- UndotreeToggle
map("n", "<leader>u", "<cmd>UndotreeToggle<cr>")

View File

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