AlphaTechnolog/pywal.nvim

Use of deprecated method

AdarshI opened this issue · 1 comments

When opening Neovim, the following error appears:

vim.highlight.create is deprecated, use vim.api.nvim_set_hl instead. See :h deprecated
This function will be removed in Nvim version 0.9
stack traceback:
        /usr/share/nvim/runtime/lua/vim/highlight.lua:14: in function 'hi'
        ...l/share/nvim/plugged/pywal.nvim/lua/pywal/highlights.lua:8: in function 'highlight_all'
        .../.local/share/nvim/plugged/pywal.nvim/lua/pywal/init.lua:8: in function 'setup'
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue

I believe this is in reference to local hi = vim.highlight.create in the file lua/pywal/highlights.lua

Sorry, I realized vim-plug didn't update pywal.nvim properly, and this was fixed in #14