You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
Once built, I can load up the patterns via the vimscript global configuration keys:
vim.g.Hexokinase_optInPatterns= { 'full_hex', 'triple_hex', 'colour_names' }
vim.g.Hexokinase_ftOptOutPatterns= {
json= { 'colour_names' },
yaml= { 'colour_names' },
}
vim.g.Hexokinase_palettes= {
-- replace with relevant path on your drivevim.fn.expand('~/Developer/design-tokens/build/editor/hexokinase.json')
}
This is fine, but as a user I'll need to make sure to set these prior to loading hexokinase. When using packer.nvim plugin manager, it's typical practice to configure plugins with a setup function after loading. I can work around this by using packer's setup key, so nothing is blocked, but a lua API would be a drop more ergonomic for neovim users.
Thanks for considering this request and thanks again for this nice package.
The text was updated successfully, but these errors were encountered:
Thank you for publishing this helpful package 🙇
Please consider adding a lua configuration API for neovim users. A straw example of what I mean:
I've configured hexokinase to eat my project's design tokens.
Code to generate hexokinase
colour_table
Once built, I can load up the patterns via the vimscript global configuration keys:
This is fine, but as a user I'll need to make sure to set these prior to loading hexokinase. When using
packer.nvim
plugin manager, it's typical practice to configure plugins with a setup function after loading. I can work around this by using packer'ssetup
key, so nothing is blocked, but a lua API would be a drop more ergonomic for neovim users.Thanks for considering this request and thanks again for this nice package.
The text was updated successfully, but these errors were encountered: