Repository: neovim/neovim
File: src/nvim/options.lua (Lua)

Code before:
        <
      ]=],
      short_desc = N_('border of floating window'),
      type = 'string',
      list = 'onecomma',
      varname = 'p_winborder',
    },
    {
      abbreviation = 'wi',
      cb = 'did_set_window',
      defaults = {
        if_true = 0,
        doc = 'screen height - 1',
      },
      desc = [=[
        Window height used for |CTRL-F| and |CTRL-B| when there is only one
        window and the value is smaller than 'lines' minus one.  The screen
        will scroll 'window' minus two lines, with a minimum of one.
        When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
        in a much smarter way, taking care of wrapping lines.
        When resizing the Vim window, and the value is smaller than 1 or more
        than or equal to 'lines' it will be set to 'lines' minus 1.
        Note: Do not confuse this with the height of the Vim window, use
        'lines' for that.
      ]=],
      full_name = 'window',
      scope = { 'global' },
      short_desc = N_('nr of lines to scroll for CTRL-F and CTRL-B'),
      type = 'number',
      varname = 'p_window',
    },
    {
      abbreviation = 'wfb',
      defaults = false,
      desc = [=[
        If enabled, the window and the buffer it is displaying are paired.
        For example, attempting to change the buffer with |:edit| will fail.
        Other commands which change a window's buffer such as |:cnext| will
        also skip any window with 'winfixbuf' enabled.  However if an Ex
        command has a "!" modifier, it can force switching buffers.
      ]=],
      full_name = 'winfixbuf',
      scope = { 'win' },
      short_desc = N_('pin a window to a specific buffer'),
      type = 'boolean',
    },
    {
      abbreviation = 'wfh',
      defaults = false,
      desc = [=[
        Keep the window height when windows are opened or closed and

Review comment (suggestion):
```suggestion
        - "solid": Adds padding by a single whitespace cell.
        - custom: comma-separated list of exactly 8 characters in clockwise
          order starting from topleft. Example: >lua
             vim.o.winborder='+,-,+,|,+,-,+,|'
        <
```


Code after:
      full_name = 'winblend',
      redraw = { 'current_window', 'highlight_only' },
      scope = { 'win' },
      short_desc = N_('Controls transparency level for floating windows'),
      type = 'number',
    },
    {
      full_name = 'winborder',
      scope = { 'global' },
      cb = 'did_set_winborder',
      defaults = { if_true = '' },
      values = { '', 'double', 'single', 'shadow', 'rounded', 'solid', 'bold', 'none' },
      desc = [=[
        Defines the default border style of floating windows. The default value
        is empty, which is equivalent to "none". Valid values include:
        - "bold": Bold line box.
        - "double": Double-line box.
        - "none": No border.
        - "rounded": Like "single", but with rounded corners ("╭" etc.).
        - "shadow": Drop shadow effect, by blending with the background.
        - "single": Single-line box.
        - "solid": Adds padding by a single whitespace cell.
        - custom: comma-separated list of exactly 8 characters in clockwise
          order starting from topleft. Example: >lua
             vim.o.winborder='+,-,+,|,+,-,+,|'
        <
      ]=],
      short_desc = N_('border of floating window'),
      type = 'string',
      list = 'onecomma',
      varname = 'p_winborder',
    },
    {
      abbreviation = 'wi',
      cb = 'did_set_window',
      defaults = {
        if_true = 0,
        doc = 'screen height - 1',
      },
      desc = [=[
        Window height used for |CTRL-F| and |CTRL-B| when there is only one
        window and the value is smaller than 'lines' minus one.  The screen
        will scroll 'window' minus two lines, with a minimum of one.
        When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
        in a much smarter way, taking care of wrapping lines.
        When resizing the Vim window, and the value is smaller than 1 or more
        than or equal to 'lines' it will be set to 'lines' minus 1.
        Note: Do not confuse this with the height of the Vim window, use
        'lines' for that.
      ]=],
      full_name = 'window',