Nvim-r: Difference between revisions

imported>Josephsdavid
No edit summary
Klinger (talk | contribs)
m Category:Applications [[Category:Text Editor{{#translation:}}]]
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}
This plugin turns vim/Neovim into a fully fledged R IDE<ref>https://medium.freecodecamp.org/turning-vim-into-an-r-ide-cd9602e8c217?gi=a7ef030c5ed2</ref>. Once added as a [[vim]] plugin it will try to compile a backend executable called nvimcom<ref>https://github.com/jalvesaq/Nvim-R</ref>.  
This plugin turns vim/Neovim into a fully fledged R IDE<ref>https://medium.freecodecamp.org/turning-vim-into-an-r-ide-cd9602e8c217?gi=a7ef030c5ed2</ref>. Once added as a [[vim]] plugin it will try to compile a backend executable called nvimcom<ref>https://github.com/jalvesaq/Nvim-R</ref>.  


Line 12: Line 13:


'''~/.config/nixpkgs/vim.nix'''
'''~/.config/nixpkgs/vim.nix'''
<pre>
<syntaxHighlight lang=nix>
with import <nixpkgs> {};
with import <nixpkgs> {};
let customPlugins = {
let customPlugins = {
Line 30: Line 31:
in vim_configurable.customize {
in vim_configurable.customize {
   name = "vim";
   name = "vim";
   vimrcConfig.customRC = ' '
   vimrcConfig.customRC = ''
   vimrc things go here
   vimrc things go here
   '';
   '';
Line 41: Line 42:
     ];
     ];
}
}
</pre>
</syntaxHighlight>




'''~/.config/nixpkgs/home.nix'''
'''~/.config/nixpkgs/home.nix'''
<pre>
<syntaxHighlight lang=nix>
   home= {
   home= {
     packages =with pkgs; [
     packages = with pkgs; [
       (import ./vim.nix)
       (import ./vim.nix)
       other packages
       # other packages
   ];
   ];
};
};
</pre>
</syntaxHighlight>
[[Category:Applications]]
[[Category:Text Editor{{#translation:}}]]