Skip to content

Commit a696f0e

Browse files
committed
i dont know what im doing and there's no way to debug it 3
1 parent e548730 commit a696f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/lua
2-
require("luasnip.loaders.from_lua").load(vim.api.nvim_get_runtime_file("luasnippets"))
2+
require("luasnip.loaders.from_lua").load(debug.getinfo(1).source:sub(2) .. "luasnippets")
33

44
-- info = debug.getinfo(1, "Sl")
55
-- print(info.source:sub(2))

0 commit comments

Comments
 (0)