Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indentation of new style tuples is messed up #107

Open
reuleaux opened this issue Oct 4, 2022 · 0 comments
Open

indentation of new style tuples is messed up #107

reuleaux opened this issue Oct 4, 2022 · 0 comments

Comments

@reuleaux
Copy link

reuleaux commented Oct 4, 2022

Hi,
using current hy-lang 0.24, new style tuples are not indented properly:
just hitting TAB (indent-for-tab-command) on each of the following lines, gives me this weird result (the "Gas" line is indented too much):

(setv expenses #(            
                 ["Rent"  "2013-01-13" 1000]
                  [ "Gas" "2013-01-14" 100]
                 ["Food" "2013-01-16" 300]
                 ["Gym" "2013-01-20" 50]
                 ))

by contrast: old style tuples are indented fine:

(setv old-style-expenses (,
                           ["Rent"  "2013-01-13" 1000]
                           [ "Gas" "2013-01-14" 100]
                           ["Food" "2013-01-16" 300]
                           ["Gym" "2013-01-20" 50]
                           ))

Thanks in advance,
-A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant