diff --git a/nvim/init.lua b/nvim/init.lua index 1a1e6d6..72df63d 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -861,6 +861,7 @@ require('lazy').setup({ -- My plugins 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` -- This is the easiest way to modularize your config. diff --git a/nvim/lua/kickstart/plugins/glow.lua b/nvim/lua/kickstart/plugins/glow.lua new file mode 100644 index 0000000..af47c3b --- /dev/null +++ b/nvim/lua/kickstart/plugins/glow.lua @@ -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, + }, +}