mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 06:44:09 -05:00
Only use unnamedplus with neovim (rather than using it in conjunction with unnamed)
This commit is contained in:
parent
ec07f61985
commit
178e89e755
1 changed files with 5 additions and 1 deletions
|
@ -27,8 +27,12 @@
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
if has('unnamedplus')
|
if has('unnamedplus')
|
||||||
|
if has('nvim')
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
else
|
||||||
set clipboard+=unnamedplus
|
set clipboard+=unnamedplus
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
"fancy mouse reporting with xterm2 fallback
|
"fancy mouse reporting with xterm2 fallback
|
||||||
if !has('nvim')
|
if !has('nvim')
|
||||||
|
|
Loading…
Reference in a new issue