I'm using the styler.nvim plugin to change colorschemes depending on the filetype. That plugin only supports colorschemes that uses vim.api.nvim_set_hl to set colours.
This PR uses the vim.api.nvim_set_hl instead of vim.cmd.
I don't think it would break anything but let me know if you need me to change something.
I'm using the
styler.nvim
plugin to change colorschemes depending on the filetype. That plugin only supports colorschemes that usesvim.api.nvim_set_hl
to set colours.This PR uses the
vim.api.nvim_set_hl
instead ofvim.cmd
.I don't think it would break anything but let me know if you need me to change something.