Skip to content

Commit

Permalink
fix: toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
windwp committed Aug 7, 2024
1 parent d46c95f commit 6cb2386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim-autopairs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ M.enable = function()
end

M.toggle = function()
M.state.disabled = ~M.state.disabled
M.state.disabled = not M.state.disabled
end

--- force remap key to buffer
Expand Down

0 comments on commit 6cb2386

Please sign in to comment.