summaryrefslogtreecommitdiff
path: root/.config/nvim/plug-config/rust.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/plug-config/rust.vim')
-rw-r--r--.config/nvim/plug-config/rust.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/plug-config/rust.vim b/.config/nvim/plug-config/rust.vim
new file mode 100644
index 0000000..3b7519d
--- /dev/null
+++ b/.config/nvim/plug-config/rust.vim
@@ -0,0 +1,5 @@
+if has('macunix')
+ let g:rust_clip_command = 'pbcopy'
+else
+ let g:rust_clip_command = 'xclip -selection clipboard'
+endif