vim-polyglot/ftplugin/javascript.vim

6 lines
120 B
VimL

if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
setlocal suffixesadd+=.js
endif