mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-11 04:53:51 -05:00
13 lines
350 B
VimL
13 lines
350 B
VimL
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
|
|
|
" Vim filetype plugin file
|
|
" Language: JavaScript
|
|
" Maintainer: vim-javascript community
|
|
" URL: https://github.com/pangloss/vim-javascript
|
|
|
|
setlocal iskeyword+=$ suffixesadd+=.js
|
|
|
|
let b:undo_ftplugin .= ' | setlocal iskeyword< suffixesadd<'
|
|
|
|
endif
|