hy-mode
hy-mode copied to clipboard
indentation of new style tuples is messed up
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