Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about compiling / KanagawaCompile #172

Open
kaddkaka opened this issue Oct 7, 2023 · 1 comment
Open

Question about compiling / KanagawaCompile #172

kaddkaka opened this issue Oct 7, 2023 · 1 comment

Comments

@kaddkaka
Copy link

kaddkaka commented Oct 7, 2023

How does the :KanagawaCompile command and the setup option compile = false option interact? What happens when I run the Compile command manually when this setting is set to false?

NOTE 1: If you enable compilation, make sure to run :KanagawaCompile command every time you make changes to your config.

Does any change to my whole config warrant a recompilation of the colorscheme?

@h3xOo
Copy link

h3xOo commented Jan 23, 2024

Looking at what :KanagawaCompile does (here), it calls load(), which checks config.compile - if it's true, then it runs compiled file, else it runs from config. Same goes for vim.cmd[[colorscheme kanagawa]]. Tl;dr: setting config.compile = false and running :KanagawaCompile will create compiled file, however it'll be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants