-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
julia-mode: Improve paren indent perf
Replace julia-paren-indent with a version that uses the higher level function backward-up-list to find any previous opening parentheses. This function automatically skips balanced expressions like strings, as well as comments. On some test files the time to indent falls by more than 75% with this change, even after increasing the threshold for paren lookback to 10k.
- Loading branch information
Showing
1 changed file
with
10 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters