aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua/plugins/ui.lua
blob: 50a2114b070ab7dd96cb340e9583cb0a35ef26f2 (plain) (blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-- blink.indent (gruvbox setup is in init.lua)
require("blink.indent").setup({
  scope = {
    highlights = {
      "BlinkIndentOrange",
      "BlinkIndentViolet",
      "BlinkIndentBlue",
      "BlinkIndentRed",
      "BlinkIndentCyan",
      "BlinkIndentYellow",
      "BlinkIndentGreen",
    },
    underline = {
      enabled = true,
      highlights = {
        "BlinkIndentOrangeUnderline",
        "BlinkIndentVioletUnderline",
        "BlinkIndentBlueUnderline",
        "BlinkIndentRedUnderline",
        "BlinkIndentCyanUnderline",
        "BlinkIndentYellowUnderline",
        "BlinkIndentGreenUnderline",
      },
    },
  },
})

require("lualine").setup({
  options = {
    icons_enabled = false,
    theme = "gruvbox_dark",
    component_separators = "",
    section_separators = "|",
    disabled_filetypes = {
      winbar = {
        "dap-view",
        "dap-repl",
        "dap-view-term",
      },
    },
  },
  sections = {
    lualine_a = { "filetype", { "filename", path = 1 } },
    lualine_b = { "%l/%L:%c:%o" },
    lualine_c = { "diff" },
    lualine_x = { "searchcount", "selectioncount" },
    lualine_y = { "overseer", "copilot" },
    lualine_z = { "diagnostics" },
  },
  inactive_sections = {
    lualine_a = {},
    lualine_b = {},
    lualine_c = { "filename" },
    lualine_x = {},
    lualine_y = {},
    lualine_z = {},
  },
})