mirror of
https://github.com/neovim/neovim.git
synced 2025-12-19 12:55:32 +00:00
feat(float): add winborder option (#31074)
Problem: There is currently no global option to define the default border style for floating windows. This leads to repetitive code when developers need consistent styling across multiple floating windows. Solution: Introduce a global option winborder to specify the default border style for floating windows. When a floating window is created without explicitly specifying a border style, the value of the winborder option will be used. This simplifies configuration and ensures consistency in floating window appearance. Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
@@ -566,6 +566,7 @@ EXTERN OptInt p_wcm; ///< 'wildcharm'
|
||||
EXTERN int p_wic; ///< 'wildignorecase'
|
||||
EXTERN char *p_wim; ///< 'wildmode'
|
||||
EXTERN int p_wmnu; ///< 'wildmenu'
|
||||
EXTERN char *p_winbd; ///< 'winborder'
|
||||
EXTERN OptInt p_wh; ///< 'winheight'
|
||||
EXTERN OptInt p_wmh; ///< 'winminheight'
|
||||
EXTERN OptInt p_wmw; ///< 'winminwidth'
|
||||
|
||||
Reference in New Issue
Block a user