dotfiles/nvim/lua/kickstart/plugins/glow.lua
2024-10-12 18:43:31 +03:00

16 lines
633 B
Lua

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 = '~/.nix-profile/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,
},
}