Skip to content

Commit

Permalink
bugfix: delete/change surround {square,angle} brackets was broken
Browse files Browse the repository at this point in the history
* The docstring was in the wrong position, and the macro silently failed :(
  • Loading branch information
timcharper committed Aug 24, 2010
1 parent a8c05e9 commit 695100f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vimpulse-surround.el
Expand Up @@ -228,9 +228,9 @@ Otherwise, dispatch to `vimpulse-change'."
(vimpulse-paren-range arg ?\( nil t))

(vimpulse-surround-define-text-object vimpulse-surround-bracket (arg)
"Select surrounding square brackets."
:keys '("]")
:strip-keys '("[")
"Select surrounding square brackets."
(vimpulse-paren-range arg ?\[ nil t))

(vimpulse-surround-define-text-object vimpulse-surround-brace (arg)
Expand All @@ -240,9 +240,9 @@ Otherwise, dispatch to `vimpulse-change'."
(vimpulse-paren-range arg ?\{ nil t))

(vimpulse-surround-define-text-object vimpulse-surround-angle (arg)
"Select surrounding angle brackets."
:keys '(">")
:strip-keys '("<")
"Select surrounding angle brackets."
(vimpulse-paren-range arg ?< nil t))

(vimpulse-surround-define-text-object vimpulse-surround-single-quote (arg)
Expand Down

0 comments on commit 695100f

Please sign in to comment.