This commit is contained in:
fz0x1 2024-09-22 20:53:22 +02:00
parent 4bec6a7ce2
commit b0a10e28ac
11 changed files with 32 additions and 25 deletions

View file

@ -36,7 +36,7 @@ return {
["*"] = { "trim_whitespace", "codespell" },
},
format_on_save = {
timeout_ms = 500,
timeout_ms = 1000,
lsp_fallback = true,
},
},

View 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,
}

View file

@ -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,
}