neovim plugins added

This commit is contained in:
Dan MacLeod
2024-05-09 15:14:58 +09:30
parent 73836a5246
commit 422b6a12f8
7 changed files with 33 additions and 450 deletions

View File

@@ -0,0 +1,9 @@
return {
"okuuva/auto-save.nvim",
cmd = "ASToggle", -- optional for lazy loading on command
event = { "InsertLeave", "TextChanged" }, -- optional for lazy loading on trigger events
opts = {
-- your config goes here
-- or just leave it empty :)
},
}

View File

@@ -0,0 +1,7 @@
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function() vim.fn["mkdp#util#install"]() end,
vim.keymap.set('n', '<leader>mp', ':MarkdownPreviewToggle<cr>', { desc = '[M]arkdown[P]reviewToggle' })
}

View File

@@ -0,0 +1,13 @@
return {
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
vim.keymap.set('n', '<leader>nt', ':NvimTreeToggle<cr>', { desc = '[N]vimTree [T]oggle' })
}

View File

@@ -0,0 +1,4 @@
return {
"LintaoAmons/scratch.nvim",
event = "VeryLazy",
}