mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
vimrc: set textwidth to 78, colorcolumn -1
This commit is contained in:
parent
8309e9254e
commit
e669ab9817
10
rc/vimrc
10
rc/vimrc
@ -105,6 +105,10 @@ autocmd BufReadPost *
|
|||||||
" Highlight all search results
|
" Highlight all search results
|
||||||
set hlsearch
|
set hlsearch
|
||||||
|
|
||||||
" Red column on the right as indication on what I wish to consider as the
|
" Keep text under 78 chars. Common Braille displays have 80, one reserved for
|
||||||
" maximum length of a line.
|
" line continuation, one for diffing?
|
||||||
set colorcolumn=76
|
" https://github.com/prettier/prettier/issues/7475#issuecomment-1484238440
|
||||||
|
set textwidth=78
|
||||||
|
" Marginal/line just before that. Set separately so it gets affected by
|
||||||
|
" editorconfig and modelines?
|
||||||
|
set colorcolumn=-1
|
||||||
|
Loading…
Reference in New Issue
Block a user