enable true colour in nvim

This commit is contained in:
tastytea 2022-08-08 01:40:30 +02:00
parent b5ca49627c
commit a8f3e416a8
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -130,6 +130,8 @@ if type emacsclient >& - \
alias $(command -v emacsremote)="TERM=${TERM%-*}-direct $(command -v emacsremote)" alias $(command -v emacsremote)="TERM=${TERM%-*}-direct $(command -v emacsremote)"
fi fi
[[ ${COLORTERM} == *(truecolor|24bit)* ]] && export NVIM_TUI_ENABLE_TRUE_COLOR=1
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
case ${TERM} in case ${TERM} in