RRethy / base16-nvim

Neovim plugin for building a sync base16 colorscheme. Includes support for Treesitter and LSP highlight groups.
MIT License
522 stars 77 forks source link

Use vim.api.nvim_set_hl instead of vim.cmd #80

Closed spadarian closed 1 year ago

spadarian commented 1 year ago

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.