summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/javascript.vim
blob: e5324c1bd1e64bece1475b4e4630d6c4e13ba425 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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