summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua/plugins/galaxyline.lua
blob: 1143b601272fffdb88a2da0963f62d1cf53d9130 (plain)
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
return {
  {
    'nvimdev/galaxyline.nvim',
    branch = 'main',
    dependencies = {
      {
        'nvim-tree/nvim-web-devicons',
      },
      {
        'navarasu/onedark.nvim',
        lazy = false,
        priority = 1000,
        opts = {
          style = 'light',
        },
      },
      {
        'lunacookies/vim-colors-xcode',
        lazy = false,
        priority = 1000,
        --config = function()
          --local colorscheme_rules_augroup = vim.api.nvim_create_augroup('Colors', {})
          --vim.api.nvim_create_autocmd({ 'ColorScheme' }, {
            --pattern = { '*' },
            --group = colorscheme_rules_augroup,
            --callback = function()
              --vim.api.nvim_set_hl(0, 'WinSeparator', { link = 'VertSplit', force = 1, default = 1 })
            --end,
          --})
        --end,
        dependencies = {
          {
            'f-person/auto-dark-mode.nvim',
            opts = {
              update_interval = 1000,
              set_dark_mode = function()
                vim.api.nvim_set_option('background', 'dark')
              end,
              set_light_mode = function()
                vim.api.nvim_set_option('background', 'light')
              end
            }
          }
        },
      },
    },
    event = { 'BufEnter', 'VimEnter' },
    config = function()
      require('config.galaxyline')
    end,
  },
}