WarWithinMe / better-align

A vscode extension to provide better vertical alignment
Other
75 stars 39 forks source link

Unexpected indent in R language #30

Open pwwang opened 6 years ago

pwwang commented 6 years ago

Original code

alist = list(a=1,b=2)
alist[["a"]] = 3
alist$b = 4

After align:

      alist   = list(a=1,b=2)
alist[["a"]]  = 3
      alist$b = 4

Expected:

alist         = list(a=1,b=2)
alist[["a"]]  = 3
alist$b       = 4

All options are left as default.

zeroone2005 commented 5 years ago

php have the same problem, i set indentBase dontchange, not run