robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
fe63ce7
main
1if vim . g . loaded_borderless then 2return 3end 4 5vim . g . loaded_borderless =true 6 7local function reset () 8io . stdout : write ( "\027]111\027\\" ) 9end 10 11local augroup =vim . augroup ( "@ivy.borderless" , true ) 12 13augroup ( { "UIEnter" , "ColorScheme" } , function () 14local normal =vim . api . nvim_get_hl ( 0 , { name ="Normal" } ) 15if not ( normal and normal . bg ) then 16reset () 17return 18end 19 20io . stdout : write ( string . format ( "\027]11;#%06x\027\\" , normal . bg )) 21end ) 22 23augroup ( "UILeave" , function () 24reset () 25end )