diff --git a/lua/astrocommunity/editing-support/cutlass-nvim/README.md b/lua/astrocommunity/editing-support/cutlass-nvim/README.md new file mode 100644 index 000000000..0a0aff00b --- /dev/null +++ b/lua/astrocommunity/editing-support/cutlass-nvim/README.md @@ -0,0 +1,7 @@ +# cutlass.nvim + +**Repository:** + +Cutlass overrides the delete operations to actually just delete and not affect the current yank. + +This plugin also adds the `leap.nvim` integration if the plugin is present. diff --git a/lua/astrocommunity/editing-support/cutlass-nvim/cutlass-nvim.lua b/lua/astrocommunity/editing-support/cutlass-nvim/cutlass-nvim.lua new file mode 100644 index 000000000..6357a4ffb --- /dev/null +++ b/lua/astrocommunity/editing-support/cutlass-nvim/cutlass-nvim.lua @@ -0,0 +1,9 @@ +local utils = require "astronvim.utils" + +return { + "gbprod/cutlass.nvim", + event = { "User AstroFile" }, + opts = function(_, opts) + if utils.is_available "leap.nvim" then opts.exclude = utils.list_insert_unique(opts.exclude, { "ns", "nS" }) end + end, +}