mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
update markdown preview
This commit is contained in:
parent
15c277f910
commit
c86aaa927e
3 changed files with 24 additions and 7 deletions
|
@ -11,15 +11,16 @@
|
|||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
||||
"code_runner.nvim": { "branch": "main", "commit": "00d3b82cc4ff0a1e0eabd09bbf125d95490d216f" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "4436d6f41e2f6b8ada57588acd1a9f8b3d21453c" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "7ab483b355613ef4f74189c7789278d765724d12" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "320865dfe76c03a5c60513d4f34ca22effae56f2" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "2c6f96dda47e55fa07052ce2e2141e8367cbaaf2" },
|
||||
"impatient.nvim": { "branch": "main", "commit": "b842e16ecc1a700f62adb9802f8355b99b52a5a6" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "db7cbcb40cc00fc5d6074d7569fb37197705e7f6" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "0d0d5870a3265f1c92a89dccef4a592c44e70179" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "c05d61d208afaccb2a6765c0a6eb2d4e506a8c18" },
|
||||
"live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "a52f078026b27694d2290e34efa61a6e4a690621" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "610f5919fe633ac872239a0ab786572059f0d91d" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "c17051e61c41c569e5088185889cde537535b465" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "93946aef86b1409958c97ee5feaf30bdd1053e24" },
|
||||
"mason.nvim": { "branch": "main", "commit": "c2002d7a6b5a72ba02388548cfaf420b864fbc12" },
|
||||
"mini.ai": { "branch": "main", "commit": "14a1382372195573c6c7f494ab8bb298b03e6f04" },
|
||||
"mini.comment": { "branch": "main", "commit": "e5294cc3e75bafb2369f235d31a98b01a9cc67ad" },
|
||||
|
@ -38,7 +39,7 @@
|
|||
"nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "7282f7de8aedf861fe0162a559fc2b214383c51c" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "a8c86f48c1030acee22b9e071e3c531de77bf253" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "a3e65cdbe2fe16dc1ed76a3ffe11ce181a3f5cc5" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" },
|
||||
"nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" },
|
||||
|
|
|
@ -24,7 +24,7 @@ return {
|
|||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
commit = "a52f078026b27694d2290e34efa61a6e4a690621",
|
||||
require = { "kyazdani42/nvim-web-devicons", opt = true },
|
||||
dependencies = { "kyazdani42/nvim-web-devicons", opt = true },
|
||||
event = "BufWinEnter",
|
||||
opts = function()
|
||||
require("user.lualine")
|
||||
|
@ -131,7 +131,7 @@ return {
|
|||
"neovim/nvim-lspconfig",
|
||||
commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda",
|
||||
event = "BufWinEnter",
|
||||
init = function()
|
||||
config = function()
|
||||
require("user.lsp")
|
||||
end,
|
||||
},
|
||||
|
@ -310,7 +310,7 @@ return {
|
|||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
commit = "2c6f96dda47e55fa07052ce2e2141e8367cbaaf2",
|
||||
disable = vim.fn.executable("git") == 0,
|
||||
enabled = vim.fn.executable("git") == 1,
|
||||
ft = "gitcommit",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
|
@ -351,4 +351,15 @@ return {
|
|||
{ "<leader>xX", "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace Diagnostics (Trouble)" },
|
||||
},
|
||||
},
|
||||
-- for markdown preview
|
||||
-- make sure already install npm and yarn
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
build = "cd app && npm install",
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
end,
|
||||
ft = { "markdown" },
|
||||
cmd = { "MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle" },
|
||||
},
|
||||
}
|
||||
|
|
|
@ -121,6 +121,11 @@ local mappings = {
|
|||
end,
|
||||
"Coment line",
|
||||
},
|
||||
["m"] = {
|
||||
name = "Markdown",
|
||||
p = { "<cmd>MarkdownPreview<cr>", "Preview" },
|
||||
s = { "<cmd>MarkdownPreviewStop<cr>", "Stop Preview" },
|
||||
},
|
||||
-- p = {
|
||||
-- name = "Packer",
|
||||
-- c = { "<cmd>PackerCompile<cr>", "Compile" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue