diff options
author | Squibid <me@zacharyscheiman.com> | 2023-07-09 21:40:42 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-07-09 21:40:42 -0400 |
commit | 663110af1ee4073b55b1893050a1c36989ba56fc (patch) | |
tree | d07932a91175798b320408432931fe1577eadd19 /modules/lssi/LSSI.md | |
parent | 7f409007184d0d3ea5ae880f708b6284f99844d6 (diff) | |
download | eat-it-663110af1ee4073b55b1893050a1c36989ba56fc.tar.gz eat-it-663110af1ee4073b55b1893050a1c36989ba56fc.tar.bz2 eat-it-663110af1ee4073b55b1893050a1c36989ba56fc.zip |
add modules directory and lssi, the first module!
Diffstat (limited to 'modules/lssi/LSSI.md')
-rw-r--r-- | modules/lssi/LSSI.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/lssi/LSSI.md b/modules/lssi/LSSI.md new file mode 100644 index 0000000..5bcd65d --- /dev/null +++ b/modules/lssi/LSSI.md @@ -0,0 +1,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. |