dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/nvim/after/plugin/vim-jsx.vim

12 lines
594 B
VimL

" Stop the vim-jsx plug-in from aggressively blowing away our ftdetection.
"
" Without something like this, our ftdetect/{jest,jsx}.vim config will
" set the filetype in test files to "javascript.jest" or
" "javascript.jest.jsx", but then vim-jsx will come along and unconditionally
" set it to "javascript.jsx", which isn't helpful. Currently I'm not working in
" any projects that use a ".jsx" extension so this workaround is viable
" (unfortunately, there's no other mechanism for disabling this functionality in
" vim-jsx).
let g:jsx_ext_required=1
let g:vim_jsx_pretty_colorful_config = 1