Make special characters less visible
This commit is contained in:
parent
e7ca971c50
commit
af80529d08
1 changed files with 9 additions and 10 deletions
19
vimrc
19
vimrc
|
@ -52,7 +52,7 @@ set textwidth=80 " Suggestions: 72, 80, 100
|
|||
" All other settings.
|
||||
set autoindent
|
||||
set autoread
|
||||
set background=light
|
||||
set background=dark
|
||||
set backspace=indent,eol,start
|
||||
set cmdheight=1
|
||||
set colorcolumn=73,81
|
||||
|
@ -137,15 +137,7 @@ if has('eval')
|
|||
endif
|
||||
"
|
||||
" Set theme for Terminal.
|
||||
if &term == 'linux'
|
||||
" Dark for Linux console.
|
||||
set background=dark
|
||||
colorscheme tempus_night
|
||||
else
|
||||
" Light for all other consoles.
|
||||
set background=dark
|
||||
colorscheme tempus_night
|
||||
endif
|
||||
colorscheme tempus_night
|
||||
endif
|
||||
|
||||
"=============================================================================
|
||||
|
@ -246,6 +238,13 @@ __EOF__
|
|||
autocmd BufRead,BufNewFile * set omnifunc=v:lua.vim.lsp.omnifunc
|
||||
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.
|
||||
runtime vimrc.local
|
||||
|
||||
|
|
Loading…
Reference in a new issue