diff --git a/dotfiles/nvim/after/silicon.lua b/dotfiles/nvim/after/silicon.lua index ca1b960..24eb3a8 100644 --- a/dotfiles/nvim/after/silicon.lua +++ b/dotfiles/nvim/after/silicon.lua @@ -9,7 +9,7 @@ require('silicon').setup({ pad_vert = 80, pad_horiz = 50, output = { - path = "/home/krivah/Pictures/Screenshots", + path = "/home/svante/Pictures/Screenshots", format = "silicon_[year][month][day]_[hour][minute][second].png", }, window_title = function() diff --git a/dotfiles/nvim/plugins.lua b/dotfiles/nvim/plugins.lua index 3395186..017b647 100644 --- a/dotfiles/nvim/plugins.lua +++ b/dotfiles/nvim/plugins.lua @@ -10,5 +10,11 @@ return { { 'hrsh7th/nvim-cmp' }, { 'hrsh7th/cmp-vsnip' }, { 'hrsh7th/vim-vsnip' }, - { 'krivahtoo/silicon.nvim', build = './install.sh' } + { 'krivahtoo/silicon.nvim', build = './install.sh' }, + { + "iamcco/markdown-preview.nvim", + cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, + ft = { "markdown" }, + build = function() vim.fn["mkdp#util#install"]() end, + }, }