zaldih / themery.nvim

A colorscheme picker with live preview and persistence for neovim ✨
https://imzaldih.com/en/post/how-to-change-neovim-colorscheme-with-themery/
GNU General Public License v3.0
138 stars 7 forks source link

Get an error when switching theme #14

Closed LmanTW closed 3 days ago

LmanTW commented 3 days ago

This error occurs when trying to switch the theme: Themery error: Could not open file for read: /Users/lukelin/v:null

Operating System: MacOS 10.15.7 Neovim Version: v0.10.0

zaldih commented 3 days ago

Thank you for opening this issue.

It seems to be a problem with the themeConfigFile parameter. Does the path exist?

Alternatively, I suggest trying the following: Could you try using this branch and see if the problem is solved? (Remember to delete the plugin before to update it)

Plug 'zaldih/themery.nvim', { 'branch': 'simplify-persistence' }

More info #11

LmanTW commented 3 days ago

The branch simplify-persistence works perfectly!

Also I found out it's because I didn't set the themeConfigFile option (didn't read the document fully, my bad), thanks for helping tho! I appreciate it.

zaldih commented 3 days ago

Yay!

Thank you very much for trying it out.

It's not your fault. As I said in the other issue, I think the configuration process is confusing. That's why I'm going to merge the branch to main for good and take a look at all the documentation.

Later on, it's possible that your manager will give you a problem when merge and delete the branch. When that happens go back to configuring main or the new release tag :)

Cheers!