shaunsingh / nord.nvim

Neovim theme based off of the Nord Color Palette, written in lua with tree sitter support
GNU General Public License v2.0
844 stars 110 forks source link

How to override default highlight groups #50

Closed regexPattern closed 3 years ago

regexPattern commented 3 years ago

I'm trying to override the default highlight groups with my custom ones. For example, when trying to change the guifg color of the NvimTreeEndOfBuffer group (to hide the ~ characters like the screenshot in the README), those changes don't take effect. I'm doing the following:

require "nord".set()
vim.cmd[[hi NvimTreeEndOfBuffer guifg=#2E3440]]

Also tried using vim.cmd[[colo nord]] and using the nord.util.highlight function, but none of those worked for me. Any ideas on how to override any highlight group? Thanks.

regexPattern commented 3 years ago

Figured out the problem was the way in which I was loading the theme