Na przykład, Vim nie tiret poprawnie poniższy kod:W jaki sposób mogę poprawnie utworzyć kod indeksu dimnego vim z operatorem potoku (%>%)?
flights <- flights %>%
group_by(year, month, day) %>%
select(arr_delay, dep_delay) %>%
summarise(
arr = mean(arr_delay, na.rm = TRUE),
dep = mean(dep_delay, na.rm = TRUE)
) %>%
filter(arr > 30 | dep > 30)
Czy istnieje sposób aby to naprawić?
Używam Vim-R-Plugin, powiązany problem to here.
Czy używasz ': set smartindent'? – rawr
@rawr: tak, robię. – enricoferrero