NTBBloodbath/sweetie.nvim

[BUG]: expected table error

Closed this issue · 4 comments

updated the script recently and now I get this every time I open nvim

Error detected while processing /Users/daniel/.config/nvim/init.vim[65]../Users/daniel/.config/nvim/plugged/sweetie.nvim/colors/sweetie.lua:                                                                                                    
E5113: Error while calling lua chunk: vim/shared.lua:0: after the second argument: expected table, got nil                                                                                                                                      
stack traceback:                                                                                                                                                                                                                                
        [C]: in function 'error'                                                                                                                                                                                                                
        vim/shared.lua: in function 'validate'                                                                                                                                                                                                  
        vim/shared.lua: in function 'tbl_deep_extend'                                                                                                                                                                                           
        ...l/.config/nvim/plugged/sweetie.nvim/lua/sweetie/init.lua:16: in main chunk                                                                                                                                                           
        [C]: in function 'require'                                                                                                                                                                                                              
        ...iel/.config/nvim/plugged/sweetie.nvim/colors/sweetie.lua:7: in main chunk                      
        
        ```
61cd595f97d98c6c5adaa6eb90d49927d336837f is the first bad commit
commit 61cd595f97d98c6c5adaa6eb90d49927d336837f
Author: NTBBloodbath <bloodbathalchemist@protonmail.com>
Date:   Sun Aug 27 19:57:32 2023 -0400

    hotfix: proper merge between defaults and user configurations

 lua/sweetie/init.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Hey, sorry for the late reply!

Thanks for reporting this bug, I don't know why it didn't show up when I was testing before pushing. I think I know the possible cause, I'll see how to fix it today.

Cheers

Should be fixed now I think, feel free to re-open this issue if not!

works. thank you :)