summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/default-config.lua1
-rw-r--r--lua/settings.lua2
2 files changed, 2 insertions, 1 deletions
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" }