Skip to content

Commit

Permalink
fix: Opening in bof
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 24, 2024
1 parent c544c00 commit 56d8ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vs-edit-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
(insert "{"))
(t
(let (pretty-it space-infront)
(when (looking-back "{ " 2)
(when (ignore-errors (looking-back "{ " 2))
(delete-char -1))

(unless (vs-edit--current-char-equal-p "{")
Expand Down

0 comments on commit 56d8ce8

Please sign in to comment.