mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add markdown preview
This commit is contained in:
@@ -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
|
||||
|
||||
10
nvim/lua/plugins/markdown-preview.lua
Normal file
10
nvim/lua/plugins/markdown-preview.lua
Normal 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,
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user