Skip to content

Commit

Permalink
feat(fall.lua): change the way denops-lazy is loaded
Browse files Browse the repository at this point in the history
The previous implementation was passing the spec.name to the
denops-lazy load function. This commit changes that to directly
pass the string "fall". This makes the code more explicit and
avoids potential issues with spec.name not being what we expect.
  • Loading branch information
ryoppippi committed May 20, 2024
1 parent 0a83ac6 commit 99e9e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/lua/plugin/fall.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return {
dependencies = {
"vim-denops/denops.vim",
},
config = function(spec)
require("denops-lazy").load(spec.name)
config = function()
require("denops-lazy").load("fall")
end,
}

0 comments on commit 99e9e01

Please sign in to comment.