Add terminal ANSI colours so Vim term matches colourscheme
This commit is contained in:
parent
744ad0749d
commit
83f7ff47de
18
vimrc
18
vimrc
|
@ -13,6 +13,24 @@ if exists('+termguicolors') && ($COLORTERM == "24bit" || $COLORTERM == "truecolo
|
|||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
let g:terminal_ansi_colors = [
|
||||
\ '#282c34',
|
||||
\ '#e06c75',
|
||||
\ '#98c379',
|
||||
\ '#e5c07b',
|
||||
\ '#61afef',
|
||||
\ '#c678dd',
|
||||
\ '#56b6c2',
|
||||
\ '#dcdfe4',
|
||||
\ '#282c34',
|
||||
\ '#e06c75',
|
||||
\ '#98c379',
|
||||
\ '#e5c07b',
|
||||
\ '#61afef',
|
||||
\ '#c678dd',
|
||||
\ '#56b6c2',
|
||||
\ '#dcdfe4'
|
||||
\ ]
|
||||
endif
|
||||
set cursorline
|
||||
set laststatus=2
|
||||
|
|
Loading…
Reference in a new issue