Skip to content

Commit

Permalink
Merge pull request #63 from dansdantas/fix-small-typo-on-dsi-document…
Browse files Browse the repository at this point in the history
…ation

chore: for `dsi` script, only return if indentation is not found
  • Loading branch information
chrisgrieser authored Dec 18, 2023
2 parents 8a58ad5 + a82b63d commit 3fa1381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ vim.keymap.set("n", "dsi", function()

-- plugin only switches to visual mode when a textobj has been found
local indentationFound = vim.fn.mode():find("V")
if indentationFound then return end
if not indentationFound then return end

-- dedent indentation
vim.cmd.normal { "<", bang = true }
Expand Down

0 comments on commit 3fa1381

Please sign in to comment.