Skip to content

Commit

Permalink
revert the indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Dec 9, 2024
1 parent 806461c commit 792658b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions extensions/vi-mode/commands.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,10 @@ Move the cursor to the first non-blank character of the line."
(max 0
(min (1- (length (line-string (current-point)))) pos))))
(:block
(move-to-line (current-point) (min (line-number-at-point start)
(line-number-at-point end)))
(move-to-column (current-point) (min column-start
column-end))))
(move-to-line (current-point) (min (line-number-at-point start)
(line-number-at-point end)))
(move-to-column (current-point) (min column-start
column-end))))
;; After 'dw' or 'dW', move to the first non-blank char
(when (and (this-motion-command)
(member (command-name (this-motion-command))
Expand Down Expand Up @@ -508,10 +508,10 @@ Move the cursor to the first non-blank character of the line."
(yank-region start end :type type)
(case type
(:block
(move-to-line (current-point) (min (line-number-at-point start)
(line-number-at-point end)))
(move-to-column (current-point) (min (point-column start)
(point-column end))))
(move-to-line (current-point) (min (line-number-at-point start)
(line-number-at-point end)))
(move-to-column (current-point) (min (point-column start)
(point-column end))))
(:line
(move-to-column start (point-charpos (current-point)))
(move-point (current-point) start))
Expand Down Expand Up @@ -801,9 +801,9 @@ on the same line or at eol if there are none."
(move-point point p)))
(lambda (point regex &optional limit-point)
(lem/isearch::search-forward-regexp
point
(ignore-errors (ppcre:create-scanner regex :case-insensitive-mode case-insensitive))
limit-point))
point
(ignore-errors (ppcre:create-scanner regex :case-insensitive-mode case-insensitive))
limit-point))
(lambda (point regex &optional limit-point)
(lem/isearch::search-backward-regexp
point
Expand Down Expand Up @@ -928,7 +928,7 @@ on the same line or at eol if there are none."
(string c)
limit)
unless result
do (return nil)
do (return nil)
finally (return t))
(character-offset p offset)
(move-point (current-point) p)))))
Expand Down

0 comments on commit 792658b

Please sign in to comment.