VIM: colour column on textwidth or if not set col 80
This had to be done in a FileType * autocmd so that it is done once file
type has been determined and textwidth is set, as suggested by tae on
discord
7630218973
This commit is contained in:
parent
34d3bddd18
commit
dc45e40bad
2 changed files with 13 additions and 0 deletions
|
@ -43,3 +43,8 @@ let g:netrw_browsex_viewer = "opout"
|
|||
set formatoptions+=r
|
||||
" Automatically insert comment leader after hitting o or O
|
||||
set formatoptions+=o
|
||||
|
||||
augroup colorcols
|
||||
autocmd!
|
||||
autocmd FileType,VimEnter,BufEnter * call mine#functions#colorcols()
|
||||
augroup end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue