aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/general.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/general.lua')
-rw-r--r--.config/nvim/lua/general.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/nvim/lua/general.lua b/.config/nvim/lua/general.lua
index f50f538..4d02f1d 100644
--- a/.config/nvim/lua/general.lua
+++ b/.config/nvim/lua/general.lua
@@ -8,7 +8,7 @@ vim.opt.undofile = true
vim.opt.backupcopy = "yes"
vim.opt.undolevels = 1000
vim.opt.wrap = false
-vim.opt.colorcolumn = "80"
+vim.opt.colorcolumn = "120"
vim.opt.scrolloff = 5
-- vim.opt.tabstop = 4
@@ -56,12 +56,12 @@ if vim.fn.has("wsl") == 1 then
callback = function() vim.fn.system("clip.exe", vim.fn.getreg("\"")) end;
})
else
- vim.api.nvim_create_autocmd('TextYankPost', {
+ vim.api.nvim_create_autocmd("TextYankPost", {
callback = function()
- if vim.v.event.operator == 'y' and vim.v.event.regname == '+' then
- require('osc52').copy_register('+')
+ if vim.v.event.operator == "y" and vim.v.event.regname == "+" then
+ require("osc52").copy_register("+")
end
- end
+ end;
})
end