feat(general): Add second colorcolumn at position 80

Helps with aligning text in Markdown, etc.
This commit is contained in:
Jiří Štefka 2024-05-21 15:25:03 +02:00
parent 45715cccc0
commit 165f2b5173
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -6,6 +6,7 @@ local g = vim.g
-- <leader> key. Defaults to `\`. Some people prefer space. -- <leader> key. Defaults to `\`. Some people prefer space.
g.mapleader = ' ' g.mapleader = ' '
-- g.maplocalleader = ' ' -- g.maplocalleader = ' '
vim.opt.wrap = false
opt.compatible = false opt.compatible = false
@ -26,6 +27,8 @@ opt.lazyredraw = true
opt.showmatch = true -- Highlight matching parentheses, etc opt.showmatch = true -- Highlight matching parentheses, etc
opt.incsearch = true opt.incsearch = true
opt.hlsearch = true opt.hlsearch = true
opt.ignorecase = true -- Make search case insensitive
opt.smartcase = true -- Overrides ignorecase if your pattern contains mixed case
opt.spell = true opt.spell = true
opt.spelllang = 'en' opt.spelllang = 'en'
@ -100,7 +103,7 @@ vim.diagnostic.config {
g.editorconfig = true g.editorconfig = true
cmd[[colorscheme tokyonight]] cmd[[colorscheme tokyonight]]
vim.opt.colorcolumn = '100' vim.opt.colorcolumn = '80,100'
-- Native plugins -- Native plugins
cmd.filetype('plugin', 'indent', 'on') cmd.filetype('plugin', 'indent', 'on')