machakann / vim-sandwich

Set of operators and textobjects to search/select/edit sandwiched texts.
1.44k stars 37 forks source link

Use buffer-specific options before global in magicchar-f #99

Closed jedrzejboczar closed 4 years ago

jedrzejboczar commented 4 years ago

If a user defines g:sandwich#magicchar#f#patterns and also specific per-filetype options with autocmd Filetype X let b:sandwich_magicchar_f_patterns = ..., the buffer-local options should probably be used instead of the global ones, but currently the buffer-local options are never used.

machakann commented 4 years ago

Thanks!