Skip to content

Commit

Permalink
Lazy.nvim should be less lazy
Browse files Browse the repository at this point in the history
The :Refactor command doesn't work if the plugin isn't yet loaded.  Instead, load non-lazy.  Alternative would be to use `cmd = 'Refactor'`, but I haven't tested that.
  • Loading branch information
tammersaleh authored and TheLeoP committed Oct 27, 2024
1 parent c406fc5 commit 53ed685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ use {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
lazy = false,
config = function()
require("refactoring").setup()
end,
Expand Down

0 comments on commit 53ed685

Please sign in to comment.