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

Add update_in_insert option #58

Closed
lopi-py opened this issue Feb 14, 2022 · 3 comments
Closed

Add update_in_insert option #58

lopi-py opened this issue Feb 14, 2022 · 3 comments

Comments

@lopi-py
Copy link

lopi-py commented Feb 14, 2022

No description provided.

@stevearc
Copy link
Owner

Added a config option that will enable this. To get the behavior that you want, set

require('aerial').setup({
  update_events = 'TextChanged,TextChangedI'
})

The default is TextChanged,InsertLeave

@lopi-py
Copy link
Author

lopi-py commented Feb 22, 2022

Thanks, suggestion: allow update_events to be a table

-- config
require('aerial').setup({
  update_events = {'TextChanged', 'TextChangedI'}
})

-- using config
table.concat(config.update_events, ',')

@stevearc
Copy link
Owner

👍 done

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

2 participants