raku-mode
raku-mode copied to clipboard
An attempt to resolve an error on indenting.
Fix issue #23
When indenting something like
if %h{"foo"} {
....... (press tab here)
}
This error happens.
(error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
Note here that while the fix does makes the error go away, it is not entirely certain whether it breaks the indentation for some other cases.
But I think we could live with this until we found what's broken.
I agree with @Altai-man ... on the other hand no extra tests are prepared in this PR yet to cover the error cases.
Can you wrote some?
Of course, after I teach myself how it is done...:)