NMAC427 / guess-indent.nvim

Automatic indentation style detection for Neovim
MIT License
413 stars 8 forks source link

Trigger OptionSet autocmd on option updates #16

Closed thaerkh closed 1 year ago

thaerkh commented 1 year ago

Hello,

This proposal adds triggering of doautocmd OptionSet calls on each option being set. This would otherwise happen if we were setting it in the Vim cmd, but doesn't through the nvim_buf_set_option API call.

In terms of usability, it allows for autocmd triggers based on these buffer option updates.

Best, Thaer

thaerkh commented 1 year ago

I'm no longer needing this and deleting the corresponding PR branch.

Feel free to make this change on your terms, screenshot for reference in case the diff is also deleted with the branch: image