summaryrefslogtreecommitdiff
path: root/.config/nvim/plug-config/rust.vim
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-02-13 23:11:25 +0100
committeraktersnurra <grydholm@kth.se>2021-02-13 23:11:25 +0100
commit8ae928dcb6fc49b805eff0aa0956cd18aa1c3f85 (patch)
treedc0087f4e9a3f6fb1e840546edea36b6d92cc384 /.config/nvim/plug-config/rust.vim
parent35fe0e5db892099cd1cc9f3a7ff298055f92bdc7 (diff)
added some vim plugins
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