summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/rmd.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftplugin/rmd.vim')
-rw-r--r--.config/nvim/ftplugin/rmd.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/rmd.vim b/.config/nvim/ftplugin/rmd.vim
new file mode 100644
index 0000000..fae453d
--- /dev/null
+++ b/.config/nvim/ftplugin/rmd.vim
@@ -0,0 +1,6 @@
+" Nvim-R
+let R_rconsole_width = 0
+let R_openpdf = 0
+au BufWritePost *.rmd silent! :call RWeave("nobib", 1, 1)
+au VimLeave *.rmd !texclear %
+