kanagawa.nvim
kanagawa.nvim copied to clipboard
Question about compiling / KanagawaCompile
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?
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.