MD preview plugin

This commit is contained in:
nomadics9 2024-10-12 18:34:26 +03:00
parent 7076bbfa5c
commit d995320817
2 changed files with 17 additions and 0 deletions

View file

@ -861,6 +861,7 @@ require('lazy').setup({
-- My plugins -- My plugins
require 'kickstart.plugins.bufferline', require 'kickstart.plugins.bufferline',
require 'kickstart.plugins.glow',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config. -- This is the easiest way to modularize your config.

View file

@ -0,0 +1,16 @@
return {
'ellisonleao/glow.nvim',
cmd = 'Glow',
config = true,
opts = {
glow_path = '', -- will be filled automatically with your glow bin in $PATH, if any
--install_path = '~/.local/bin', -- default path for installing glow binary
border = 'shadow', -- floating window border config
--style = 'dark|light', -- filled automatically with your current editor background, you can override using glow json style
pager = false,
width = 80,
height = 100,
width_ratio = 0.7, -- maximum width of the Glow window compared to the nvim window size (overrides `width`)
height_ratio = 0.7,
},
}