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

Merge init() configuration table with default configuration #127

Open
mizlan opened this issue Dec 7, 2023 · 0 comments
Open

Merge init() configuration table with default configuration #127

mizlan opened this issue Dec 7, 2023 · 0 comments

Comments

@mizlan
Copy link

mizlan commented Dec 7, 2023

With an init.lua file like the following,

stackline = require "stackline"
stackline:init {
  appearance = {
    offset = {
      x = 10
    }
  }
}

I see many errors in the Hammerspoon console reporting that I've failed to set a number of different fields (the other configuration options). However, in this case I'd expect the unset fields to take on the values that are the default (i.e., if I were to just have init() with no table, the arguments that would be used in place). It seems like that's not the case, although maybe I am misconfiguring something here.

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

1 participant