You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I noticed that when there is a certain number of leading spaces, the line does not indent to the correct number. For example, with indent_by = 2 (though this issue appears for more than just 2 spaces),
4 leading spaces (for example):
function() {
print("hi")
}
does not indent to 2 spaces. However,
17 leading spaces (for example):
function() {
print("hi")
}
does indent to 2. Can anyone reproduce this, or does anyone know why this is?
System info
styler: 1.3.2
R: 4.0.4
The text was updated successfully, but these errors were encountered:
Thanks for reporting 👍. I can't reproduce this with the latest CRAN version (v1.4.0). I believe this is a cache invalidation issue, probably the one resolved in #647 and released in v1.4.0. Does the problem persist after installing the latest CRAN version?
Hi, I noticed that when there is a certain number of leading spaces, the line does not indent to the correct number. For example, with
indent_by = 2
(though this issue appears for more than just2
spaces),4 leading spaces (for example):
does not indent to 2 spaces. However,
17 leading spaces (for example):
does indent to 2. Can anyone reproduce this, or does anyone know why this is?
System info
styler: 1.3.2
R: 4.0.4
The text was updated successfully, but these errors were encountered: