Added nvim column
This commit is contained in:
parent
55aa6f78a4
commit
f656b81a7f
2 changed files with 7 additions and 3 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
1
.config/nvim/lua/plugins/deadcolumn.lua
Normal file
1
.config/nvim/lua/plugins/deadcolumn.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return { 'Bekaboo/deadcolumn.nvim' }
|
||||
Loading…
Add table
Add a link
Reference in a new issue