summary refs log tree commit diff
path: root/.vim/snippets/lua.lua
blob: 0d2609a7e137adcbf0369343d48cdbf7ab9e3470 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
return {
  s('use', fmt([[
    use {{'{}'{} -- {{{{{{
      config = function()
        require('{}').setup {{}}
      end}} -- }}}}}}
    ]], {
      i(1, 'username/repo'),
      c(2, {
        t(','),
        t(', disabled = true,'),
        fmt([[, cmd = {{'{}'}}, module = {{'{}'}},]],
          {i(1, 'Cmd'), i(2, 'module')})
      }),
      i(3, 'module'),
    })
  ),
}