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

Cant get the export working. #38

Open
mo-db opened this issue Jan 31, 2025 · 1 comment
Open

Cant get the export working. #38

mo-db opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mo-db
Copy link

mo-db commented Jan 31, 2025

Getting this error here:
Failed to run config for nvim-highlite

.../nvim/lazy/nvim-highlite/lua/highlite/export/wezterm.lua:108: attempt to inde
x upvalue 'Util' (a boolean value)

stacktrace:

  • .config/nvim/lua/plugins/themes.lua:25 in config
  • .config/nvim/init.lua:83

This is my config:
{'Iron-E/nvim-highlite',
lazy = false,
priority = math.huge,
version = '^4.0.0',
config = function(_, opts)
-- OPTIONAL: setup the plugin. See "Configuration" for information
require('highlite').setup {generator = {plugins = {vim = false}, syntax = false}}
require('highlite.export').wezterm(
'tokyonight',
-- all settings below are OPTIONAL
{
-- controls the directory where the exported colorscheme will be written.
dir = '~/.config/nvim/colors/',
filename = 'foo',

      -- skip exporting certain groups. Currently only works for the `nvim` and `vim` targets
      filter = function(group, default_filter)
        return default_filter(group) or (group:find '^Nvim' or group:find '^Redraw') ~= nil
      end,

      -- if `false`, an existing target file will not be overwritten. Instead, a
      -- file with a similar name will be created.
      force = true,

      -- if `true`, the function will not notify you when it is finished.
      silent = false,
    }
  )
end,

},

@Iron-E
Copy link
Owner

Iron-E commented Feb 5, 2025

Thank you for reporting this! I'll take a look at it this weekend.

For now, pinning to a previous version of the plugin should help (i.e. adjusting the version = value).

@Iron-E Iron-E added the bug Something isn't working label Feb 5, 2025
@Iron-E Iron-E self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants