Skip to content

Commit e548730

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lua/luasnip-latex-snippets/init.lua

100644100755
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
require("luasnip.loaders.from_lua").load(debug.getinfo(1, "Sl").source .. "luasnippets")
1+
#!/bin/lua
2+
require("luasnip.loaders.from_lua").load(vim.api.nvim_get_runtime_file("luasnippets"))
3+
4+
-- info = debug.getinfo(1, "Sl")
5+
-- print(info.source:sub(2))

0 commit comments

Comments
 (0)