Closed vbauerster closed 5 years ago
What is the right way to override global auto_pairs option for specific file type? For example, I've tried following in order to remove <> pair:
auto_pairs
<>
hook global WinSetOption "filetype=go" %{ set window auto_pairs '(' ')' '{' '}' '[' ']' '"' '"' '''' '''' '`' '`' }
Echoing, shows that there is no <> pair, but < keeps auto paired with >.
<
>
I need to add a hook on auto_pairs option.
Thanks for the catch.
What is the right way to override global
auto_pairs
option for specific file type? For example, I've tried following in order to remove<>
pair:Echoing, shows that there is no
<>
pair, but<
keeps auto paired with>
.