TODO: Rmarkdown syntax highlighting in vim - lmmx/devnotes GitHub Wiki
- Installing vim r-plugin requires a version of Vim compiled with
+libcall
,+clientserver
and+conceal
features - My version lacks the +clientserver option (as previewed with
:version
in normal mode orvim --version
) so I'll have to rebuild it from source - There's an example of doing this on StackOverflow here
- A Knitr issue thread details the task too
sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev
...
~ $ sudo apt-get build-dep vim-gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'vim' as source package instead of 'vim-gnome'
E: Unable to find a source package for vim