mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
add(nvim): glow for nvim
This commit is contained in:
parent
d0bb58b0fa
commit
9617fdf83f
3 changed files with 13 additions and 0 deletions
11
.config/nvim/lua/glow-cfg/init.lua
Normal file
11
.config/nvim/lua/glow-cfg/init.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
require "glow".setup {
|
||||
glow_path = "glow", -- 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", -- 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue