File: presets.lua

package info (click to toggle)
neovim-which-key 3.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 500 kB
  • sloc: sh: 21; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---@type table<string, wk.Opts>
return {
  helix = {
    win = {
      width = { min = 30, max = 60 },
      height = { min = 4, max = 0.75 },
      padding = { 0, 1 },
      col = -1,
      row = -1,
      border = "rounded",
      title = true,
      title_pos = "left",
    },
    layout = {
      width = { min = 30 },
    },
  },
  modern = {
    win = {
      width = 0.9,
      height = { min = 4, max = 25 },
      col = 0.5,
      row = -1,
      border = "rounded",
      title = true,
      title_pos = "center",
    },
  },
  classic = {
    win = {
      width = math.huge,
      height = { min = 4, max = 25 },
      col = 0,
      row = -1,
      border = "none",
    },
  },
}