catppuccin / vim

🧋 Soothing pastel theme for Vim
MIT License
244 stars 15 forks source link

theme not showing up #22

Closed NooraAz closed 6 months ago

NooraAz commented 6 months ago

I followed all the steps, and still not seeing the theme.

Here is how I set it up:

inside .vim I have this repo, so ls .vim gives:

assets  autoload  colors  LICENSE  README.md

and then in .vimrc I set colorscheme. here is my .vimrc file:

set termguicolors
colorscheme catppuccin_frappe
set paste

I use vim 8.0.

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Aug  2 2022 07:47:17)
NooraAz commented 6 months ago

okay, this thread solved my issue.

You need to add this part, before setting set termguicolors

if !has('gui_running') && &term =~ '\%(screen\|tmux\)'
  let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
  let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
endif