nordtheme / vim

An arctic, north-bluish clean and elegant Vim theme.
https://www.nordtheme.com/ports/vim
MIT License
2.52k stars 274 forks source link

Can't get theme working in VIM 9.0.1499 #348

Closed blixelcode closed 8 months ago

blixelcode commented 8 months ago

I'm using VIM 9.0.1499 on a Raspberry Pi. I've been using the Dracula theme, but when I saw the Nord theme, I wanted to try it out. However, when I switch to the theme ... this is what it looks like for me:

2024-01-02_07-42-12

Does anyone have any suggestions for how I can get the Nord theme working correctly?

Thanks

ericvw commented 8 months ago

@blixelcode, have you also configured your terminal emulator colors to the Nord theme palette?

The instructions at https://www.nordtheme.com/docs/ports/vim/installation indicates:

Vim in terminal mode must be used with a Nord terminal emulator theme in order to work properly!

Make sure to install one of the currently supported terminal emulator port projects before installing Nord Vim.

Vim in terminal mode uses the 16 color codes provided by the terminal emulator. When used with another color theme than the one provided by one of Nord's terminal emulator ports, the colors in Vim won't use Nord's color palettes! This will result in different styles than those defined by Nord Vim and could make it appear that there is a problem with the Nord Vim theme while the actual problem are missing Nord colors.

Read the GitHub Gist about terminal colors for more information about terminal color specifications.

I'm guessing the colors you are seeing are the same colors as the colors on your terminal.