Skip to content

Commit

Permalink
fix(cutlass-nvim): fix incorrect lazy loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed May 27, 2024
1 parent d64d788 commit fd6104a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lua/astrocommunity/editing-support/cutlass-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
return {
"gbprod/cutlass.nvim",
event = { "User AstroFile" },
event = "VeryLazy",
opts = function(_, opts)
local utils = require "astrocore"
if utils.is_available "leap.nvim" then opts.exclude = utils.list_insert_unique(opts.exclude, { "ns", "nS" }) end
if utils.is_available "hop.nvim" then opts.exclude = utils.list_insert_unique(opts.exclude, { "ns", "nS" }) end
if utils.is_available "leap.nvim" or utils.is_available "hop.nvim" then
opts.exclude = utils.list_insert_unique(opts.exclude, { "ns", "nS" })
end
end,
}

0 comments on commit fd6104a

Please sign in to comment.