Add colorcolumn
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ continuation_indent = 4
|
|||||||
|
|
||||||
# this mean utf8 length , if this is 'unset' then the line width is no longer checked
|
# this mean utf8 length , if this is 'unset' then the line width is no longer checked
|
||||||
# this option decides when to chopdown the code
|
# this option decides when to chopdown the code
|
||||||
max_line_length = 120
|
max_line_length = 80
|
||||||
|
|
||||||
# optional crlf/lf/cr/auto, if it is 'auto', in windows it is crlf other platforms are lf
|
# optional crlf/lf/cr/auto, if it is 'auto', in windows it is crlf other platforms are lf
|
||||||
# in neovim the value 'auto' is not a valid option, please use 'unset'
|
# in neovim the value 'auto' is not a valid option, please use 'unset'
|
||||||
|
|||||||
@@ -84,3 +84,5 @@ vim.opt.diffopt:append({ "indent-heuristic", "algorithm:histogram", })
|
|||||||
vim.fn.execute("filetype plugin on")
|
vim.fn.execute("filetype plugin on")
|
||||||
vim.opt.hlsearch = false
|
vim.opt.hlsearch = false
|
||||||
vim.opt.laststatus = 3
|
vim.opt.laststatus = 3
|
||||||
|
vim.opt.textwidth = 80
|
||||||
|
vim.opt.colorcolumn = '+1'
|
||||||
|
|||||||
Reference in New Issue
Block a user