How can I suppress the grey line highlight?



Using Version 1.1.383. Rstudio highlights a lot of my code with a grey bar that spans the entire line. How can I suppress this behavior?


Strange! Is this in an R Script? I think highlight in RStudio is detected by the file extension.


Yes, this is an R script.


I think this is a bug. Here’s how to reproduce:

  1. Copy and paste this code into a new R script
a <- list(
  a = 1, b = 2, c = 3
b <- list(
  a = 1, b = 2, c = 3
c <- list(
  a = 1, b = 2, c = 3
  1. cmd + a to select all, then cmd + i to indent. This is what I do a lot and this is what seems to cause the issue.


Oh! you are right, same for me on windows

If I do, CTRL+I line by line, the grey line disappears.