From 663110af1ee4073b55b1893050a1c36989ba56fc Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 9 Jul 2023 21:40:42 -0400 Subject: add modules directory and lssi, the first module! --- modules/lssi/LSSI.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/lssi/LSSI.md (limited to 'modules/lssi/LSSI.md') 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. -- cgit v1.2.1