Skip to content

Commit

Permalink
Increase lookback.
Browse files Browse the repository at this point in the history
Fixes #5.
  • Loading branch information
tpapp committed Dec 25, 2019
1 parent 023df24 commit 6ead4b5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions julia-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,13 @@ beginning of the buffer."
(unless (eq (point) (point-min))
(backward-char)))

(defcustom julia-max-block-lookback 5000
"When indenting, don't look back more than this
many characters to see if there are unclosed blocks.
(defcustom julia-max-block-lookback 20000
"When indenting, don't look back more than this many characters
to see if there are unclosed blocks.
This variable has a moderate effect on indent performance if set too
high, but stops indenting in the middle of long blocks if set too low."
This variable has a small effect on indent performance if set
too high, but stops indenting in the middle of long blocks if set
too low."
:type 'integer
:group 'julia)

Expand Down

0 comments on commit 6ead4b5

Please sign in to comment.