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