aboutsummaryrefslogtreecommitdiffstats
path: root/modules/lssi/LSSI.md
blob: 5bcd65de5c1f0a08882a6bbdf6eda4dde4e2b97c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Using lssi
Any plugin can be modified by lssi by doing the following in the eatit-cfg.lua:
```lua
plugins = { -- the  plugins you want to load
  { 'https://git.squi.bid/eat-it',
    file = 'eatit.lua',
    dir = 'scripts',
    lssi = {
        -- code                  line
        { 'print("hello world")', 'G' },
    }
  },
}
```
The line option can be 'g' for top of file, 'G' for bottom of file, or any 
number in between.