From 84d6ea7a6302a916a38af262685db03902ce4866 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Thu, 8 Jul 2021 15:37:51 +0430 Subject: you can disable clipboard (#783) --- lua/default-config.lua | 1 + lua/settings.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/default-config.lua b/lua/default-config.lua index 45e93302..b88b5af4 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -8,6 +8,7 @@ O = { auto_close_tree = 0, auto_complete = true, colorscheme = "lunar", + clipboard = "unnamedplus", hidden_files = true, wrap_lines = false, number = true, diff --git a/lua/settings.lua b/lua/settings.lua index 3bf5d338..e1da3965 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -22,7 +22,7 @@ vim.g.colors_name = O.colorscheme --- SETTINGS --- opt.backup = false -- creates a backup file -opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard +opt.clipboard = O.clipboard -- allows neovim to access the system clipboard opt.cmdheight = O.cmdheight -- more space in the neovim command line for displaying messages opt.colorcolumn = "99999" -- fix indentline for now opt.completeopt = { "menuone", "noselect" } -- cgit v1.2.3