summary refs log tree commit diff
path: root/.config/nvim/lua/plugins/indent.lua
blob: e247c5affc79d3d856e2ffb723f0e5f5aca94aec (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
return {
  -- show indents using virtual text
  {
    'lukas-reineke/indent-blankline.nvim',
    lazy = false,
    main = 'ibl',
    opts = {
      indent = {
        char = '▏',
      },
      scope = {
        enabled = true,
        show_start = false,
        show_end = false,
        char = '▌',
      },
    },
  },
  -- detect indent from the buffer contents
  {
    enabled = false,
    'NMAC427/guess-indent.nvim',
    lazy = false,
    opts = {
      auto_cmd = true,
      filetype_exclude = { 'netrw', 'tutor', 'dirbuf', 'nvimtree', 'oil' },
      buftype_exclude = { 'help', 'nofile', 'terminal', 'prompt' },
    },
  },
}