Make special characters less visible

This commit is contained in:
Anthony Rose 2022-06-22 10:49:13 +00:00
parent e7ca971c50
commit af80529d08

19
vimrc
View file

@ -52,7 +52,7 @@ set textwidth=80 " Suggestions: 72, 80, 100
" All other settings. " All other settings.
set autoindent set autoindent
set autoread set autoread
set background=light set background=dark
set backspace=indent,eol,start set backspace=indent,eol,start
set cmdheight=1 set cmdheight=1
set colorcolumn=73,81 set colorcolumn=73,81
@ -137,15 +137,7 @@ if has('eval')
endif endif
" "
" Set theme for Terminal. " Set theme for Terminal.
if &term == 'linux' colorscheme tempus_night
" Dark for Linux console.
set background=dark
colorscheme tempus_night
else
" Light for all other consoles.
set background=dark
colorscheme tempus_night
endif
endif endif
"============================================================================= "=============================================================================
@ -246,6 +238,13 @@ __EOF__
autocmd BufRead,BufNewFile * set omnifunc=v:lua.vim.lsp.omnifunc autocmd BufRead,BufNewFile * set omnifunc=v:lua.vim.lsp.omnifunc
endif endif
" Customise colour schemes. Keep this near the end.
if &background ==# 'light'
highlight SpecialKey ctermfg=lightgray ctermbg=NONE guifg=lightgray guibg=NONE
else
highlight SpecialKey ctermfg=darkgray ctermbg=NONE guifg=darkgray guibg=NONE
endif
" Keep this as the last config line in the file. " Keep this as the last config line in the file.
runtime vimrc.local runtime vimrc.local