2021-09-06 07:30:45 +02:00
|
|
|
" ----------------------------------------------------------------------------
|
|
|
|
" visual configuration
|
|
|
|
" ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
" set a colorscheme
|
2022-01-17 18:50:25 +01:00
|
|
|
silent! colorscheme solarized
|
2021-09-06 07:30:45 +02:00
|
|
|
set background=dark
|
|
|
|
|
|
|
|
" do soft wrap of text but not in the middle of words
|
|
|
|
set wrap linebreak nolist
|
|
|
|
|
|
|
|
" don't do hard wraps in any files
|
|
|
|
set textwidth=0
|
|
|
|
|
|
|
|
" add a color column at the 80 char
|
|
|
|
set colorcolumn=80
|
|
|
|
|
|
|
|
" spelling highlight needs to be done after the colorscheme load
|
|
|
|
highlight SpellBad term=underline cterm=underline
|
|
|
|
|
|
|
|
" enable English spellchecking in markdown files
|
|
|
|
autocmd FileType markdown setlocal spell
|
|
|
|
autocmd FileType markdown setlocal spelllang=en
|