Skip to content
Discussion options

You must be logged in to vote

Hi there! @JoseConseco
The reason nothing is happening because configs field is meant to configure already added presets.

To actually add a preset you have 2 options that listed in the end of the README file. I'm gonna change it so that it's easier for you to find it.

The first way

  1. You put your preset into reactive/presets/yourpresetname.lua folder & file
  2. You then load it using require('reactive').load_preset 'yourpresetname'

The second way

You use

require('reactive').add_preset {
  -- your config for preset here
}

I actually use the first way since it fits me better :)

Solution for your question:

require('reactive').add_preset {
  name = 'test',
  modes = {
    no = {
      to = function

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@JoseConseco
Comment options

@rasulomaroff
Comment options

Answer selected by rasulomaroff
Comment options

You must be logged in to vote
5 replies
@rasulomaroff
Comment options

@JoseConseco
Comment options

@rasulomaroff
Comment options

@JoseConseco
Comment options

@rasulomaroff
Comment options

Comment options

You must be logged in to vote
1 reply
@rasulomaroff
Comment options

Comment options

You must be logged in to vote
1 reply
@rasulomaroff
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants