hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
189 stars 48 forks source link

indentation of new style tuples is messed up #107

Open reuleaux opened 1 year ago

reuleaux commented 1 year ago

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