feat(nvim): add markdown preview

This commit is contained in:
Stefan Imhoff
2024-02-03 12:48:32 +01:00
parent e7ea05a9e6
commit c324035728
4 changed files with 25 additions and 9 deletions

View File

@@ -19,6 +19,7 @@ vim.opt.tabstop = 2
vim.opt.title = true
vim.opt.swapfile = false
vim.opt.virtualedit = "block,insert"
vim.opt.conceallevel = 2
vim.opt.iskeyword:append("-") -- Add dashes to words
vim.opt.wildignore:append({ "*/node_modules/*" }) -- Wildignore

View File

@@ -0,0 +1,10 @@
-- Markdown Preview
-- https://github.com/iamcco/markdown-preview.nvim
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
vim.fn["mkdp#util#install"]()
end,
}

View File

@@ -30,7 +30,11 @@ return {
},
twilight = { enabled = true }, -- enable to start Twilight when zen mode opens
gitsigns = { enabled = false }, -- disables git signs
tmux = { enabled = false }, -- disables the tmux statusline
tmux = { enabled = true }, -- disables the tmux statusline
wezterm = {
enabled = true,
font = "+20", -- font size increment
},
kitty = {
enabled = true,
font = "+2", -- font size increment