edo1z blog

プログラミングなどに関するブログです

WSL2のneovimのcheckhealthでtmux関連のエラーが出ている

https://i.gyazo.com/6e7fd684a000423b759e322cf4dd077c.png

ERROR: escape-time (500) is higher than 300ms

WARNING: Neither Tc nor RGB capability set. True colors are disabled. 'termguicolors' won't work properly.

  • .tmux.confで下記のように設定を変えたらエラーが無くなった。
set-option -g default-terminal screen-256color
set-option -ga terminal-overrides ',xterm-256color:Tc'

$TERMの値

  • tmux動作時は、screen-256color
  • tmux未動作時は、xterm-256color