Skip to content

Commit

Permalink
fix(core.clipboard.code-blocks): module would not work past version `…
Browse files Browse the repository at this point in the history
…1.0.0`
  • Loading branch information
vhyrro committed Feb 4, 2023
1 parent 7cc4c95 commit ac88283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/clipboard/code-blocks/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local module = neorg.modules.create("core.clipboard.code-blocks")

module.load = function()
neorg.modules.await("core.clipboard", function(clipboard)
clipboard.add_callback("ranged_tag_content", function(node, content, position)
clipboard.add_callback("ranged_verbatim_tag_content", function(node, content, position)
-- TODO: Handle visual/visual line/visual block modes

-- The end of "ranged_tag_content" spans one line too many
Expand Down

1 comment on commit ac88283

@xfzv
Copy link
Contributor

@xfzv xfzv commented on ac88283 Feb 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! hopefully this will work with visual blocks too in the future.

Please sign in to comment.