summaryrefslogblamecommitdiffstats
path: root/after/ftplugin/javascript-1.vim
blob: 8480c6e710f4d43ec3530e07f18e8390524d12cb (plain) (tree)
1
2
3


                                                              












                                                              
if !polyglot#util#IsEnabled('javascript', expand('<sfile>:p'))
  finish
endif

" Vim filetype plugin file
" Language:     JavaScript
" Maintainer:   vim-javascript community
" URL:          https://github.com/pangloss/vim-javascript

setlocal iskeyword+=$ suffixesadd+=.js

if exists('b:undo_ftplugin')
  let b:undo_ftplugin .= ' | setlocal iskeyword< suffixesadd<'
else
  let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<'
endif