mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
17 lines
470 B
VimL
17 lines
470 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'javascript', 'after/ftplugin/javascript.vim')
|
|
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
|