mxw / vim-jsx

React JSX syntax highlighting and indenting for vim.
1.59k stars 95 forks source link

Prevent clobbering of previous b:match_words #142

Closed igemnace closed 6 years ago

igemnace commented 7 years ago

Since b:match_words is defined in an after directory, it's likely to be sourced after any user configuration, even those appearing in \~/.vim/after (\~/.vim usually comes before plugin-specific paths in runtimepath).

Any previously existing b:match_words should only be appended to instead of outright clobbered, to preserve user configuration.