rktjmp / lush.nvim

Create Neovim themes with real-time feedback, export anywhere.
MIT License
1.44k stars 47 forks source link

Pass options to compiler #65

Closed mcchrish closed 2 years ago

mcchrish commented 2 years ago

Fixes exclude_keys not working.

rktjmp commented 2 years ago

Hmm, thanks for the patch. It's a while since I looked at that code.

I think it was initially for #29 #30 https://github.com/rktjmp/lush.nvim/commit/aaa9a4c77330ea2a69a88d8e7950edeb01e9f359 which includes tests for the compiler but I guess I neglected the actual lush.compile part.

Do you mind adding a basic test in https://github.com/rktjmp/lush.nvim/blob/main/spec/user_bugs_spec.moon? Should be able to use something similar to what was included in the original commit.

mcchrish commented 2 years ago

@rktjmp I added a single test just to see if the exclude_keys is being passed. I just duplicated one of the tests.

rktjmp commented 2 years ago

:tada: