aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/general.lua
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-03-29 17:52:56 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-03-29 17:52:56 +0000
commite4588098e2c76fac277f3598c8d0e2c60722f1ab (patch)
treeec6430ed7de717fdce58493eef9bffabb2ed721a /.config/nvim/lua/general.lua
parentf8f6e1566e539b42d70380c02ea18a61fa4f41e9 (diff)
downloaddotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.tar
dotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.tar.gz
dotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.tar.bz2
dotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.tar.lz
dotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.tar.xz
dotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.tar.zst
dotfiles-e4588098e2c76fac277f3598c8d0e2c60722f1ab.zip
Add marks and colorcolumn 120
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