rstudio/rstudio — pull request #244 by kevinushey (2014-12-07 05:51:54+00:00)
Title: check for preceding whitespace on insertion

This makes the ` %>% ` and ` <- ` insertion rules a bit smarter about whitespace -- we only insert a preceding space if there isn't already whitespace before the cursor, or if the cursor is not at the start of the line.