In your vim config folder:
mkdir pack && cd pack
git init
git submodule add --depth=1 https://github.com/RRethy/vim-hexokinase ui/start/vim-hexokinase
cd ui/start/vim-hexokinase
git submodule init
git submodule update
cd hexokinase/
go build
I created 2 custom palettes to match Terminal 256 ANSI colors with Liquid Prompt patterns like in lp_terminal_format 33 -1 0 0 14 -1
.
One for foreground and the other for background colors.
The matching was generated with the help of mardlo's Gist. But the 16 first colors are dependent on the terminal custom settings.
The colors 0 to 16 in both palettes are the ones from my Urxvt terminal settings. You can change them with a tool like sed.