fix: neovim

This commit is contained in:
Ryan Yin
2023-07-10 22:50:19 +08:00
parent 21b3d4ad37
commit 7cc49c29f1
62 changed files with 1998 additions and 2600 deletions

View File

@@ -0,0 +1,13 @@
return {
-- e.g. local bar = require("foo.bar")
s(
'require',
fmt([[local {} = require("{}")]], {
d(2, function(args)
local modules = vim.split(args[1][1], '%.')
return sn(nil, { i(1, modules[#modules]) })
end, { 1 }),
i(1),
})
),
}