2016-07-30 07:18:40 -04:00
|
|
|
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
|
|
|
|
|
2016-09-11 07:24:17 -04:00
|
|
|
if exists('b:undo_ftplugin')
|
|
|
|
let b:undo_ftplugin .= ' | setlocal iskeyword< suffixesadd<'
|
|
|
|
else
|
|
|
|
let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<'
|
|
|
|
endif
|
2016-07-30 07:18:40 -04:00
|
|
|
|
|
|
|
endif
|