rc (90B)
1 declare-option str foo 2 hook global BufSetOption 'indentwidth=(\d+)' %{set buffer foo bar}