mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-04-15 19:54:48 +02:00
Nvim: Colorcolumn is now set more intuitively
This commit is contained in:
@@ -121,7 +121,7 @@ vim.diagnostic.config({
|
||||
|
||||
-- enable colorcolumn when textwidth is set
|
||||
vim.o.cursorline = true
|
||||
vim.opt_local.colorcolumn = "+" .. vim.fn.join(vim.fn.range(0, 254), ",+")
|
||||
vim.opt_local.colorcolumn = "+" .. vim.fn.join(vim.fn.range(1, 254), ",+")
|
||||
-- alternatively highlight only one line for colorcolumn
|
||||
-- vim.o.colorcolumn = "-0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user