Added nvim column

This commit is contained in:
Luka Jankovic 2025-01-15 15:11:13 +01:00
parent 55aa6f78a4
commit f656b81a7f
2 changed files with 7 additions and 3 deletions

View file

@ -14,9 +14,9 @@ vim.o.clipboard = "unnamedplus"
local restore_cursor_augroup = vim.api.nvim_create_augroup("restore_cursor_shape_on_exit", { clear = true })
vim.api.nvim_create_autocmd({ "VimLeave" }, {
group = restore_cursor_augroup,
desc = "restore the cursor shape on exit of neovim",
command = "set guicursor=a:ver20",
group = restore_cursor_augroup,
desc = "restore the cursor shape on exit of neovim",
command = "set guicursor=a:ver20",
})
-- Horizontal Split Line
@ -28,6 +28,9 @@ vim.opt.scrolloff = 5
-- Highlight current line
vim.opt.cursorline = true
-- Column limit
vim.opt.colorcolumn = "80"
-- Set signcolumn to prevent lsp flickering
vim.opt.signcolumn = "yes"

View file

@ -0,0 +1 @@
return { 'Bekaboo/deadcolumn.nvim' }