summary refs log tree commit diff
path: root/.vim/snippets/lua.lua
blob: 6e9e58a58eccc177f1a4ee612adc0ce22cd0cfbc (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
---@diagnostic disable: undefined-global
return {
  s(
    'plug',
    fmt(
      [[
      {{
        '{}',
        enabled = true,
        {},
        opts = {{
          {}
        }},
      }},
      ]],
      {
        i(1, 'username/repo'),
        c(2, {
          fmt([[cmd = {{'{}'}}]], { i(1, 'Cmd') }),
        }),
        i(3),
      }
    )
  ),
}