commit e05de72670ab62573bd7ffc4c063f3738551e832
parent d15a7bb79c28123feede5f915a79fb60bede8a44
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Wed, 13 May 2026 15:15:31 -0300
ftplugin/r: added keywordprg and folding
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ftplugin/r.vim b/ftplugin/r.vim
@@ -5,5 +5,6 @@ setlocal cindent
setlocal textwidth=80
setlocal formatprg=R\ -s\ --vanilla\ -e\ \"options(styler.colored_print.vertical=FALSE);styler::style_text(readLines(\\\"stdin\\\"))\"
+setlocal keywordprg=sh\ -c\ 'Rscript\ -e\ \"help($1)\"'\ --
let g:r_syntax_folding = 1