22092024
This commit is contained in:
parent
4bec6a7ce2
commit
b0a10e28ac
11 changed files with 32 additions and 25 deletions
|
@ -36,7 +36,7 @@ return {
|
|||
["*"] = { "trim_whitespace", "codespell" },
|
||||
},
|
||||
format_on_save = {
|
||||
timeout_ms = 500,
|
||||
timeout_ms = 1000,
|
||||
lsp_fallback = true,
|
||||
},
|
||||
},
|
||||
|
|
10
global/.config/nvim/lua/plugins/markdown-preview.lua
Normal file
10
global/.config/nvim/lua/plugins/markdown-preview.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
lazy = false,
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
ft = { "markdown" },
|
||||
build = "cd app && yarn install",
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
end,
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
return {
|
||||
"toppair/peek.nvim",
|
||||
event = { "VeryLazy" },
|
||||
build = "deno task --quiet build:fast",
|
||||
config = function()
|
||||
require("peek").setup()
|
||||
-- refer to `configuration to change defaults`
|
||||
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
|
||||
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
|
||||
end,
|
||||
lazy = false,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue