1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:20:05 +08:00

Fix typo in JavaScript layer

This commit is contained in:
astromac 2017-03-07 16:22:48 -05:00 committed by GitHub
parent dcd6479e7c
commit 248136d4c8

View File

@ -1,8 +1,8 @@
function! SpaceVim#layers#lang#javascript#plugins() abort
let plugins = []
cal add(plugins,['pangloss/vim-javascript', { 'on_ft' : ['javascript']}])
call add(plugins,['pangloss/vim-javascript', { 'on_ft' : ['javascript']}])
if has('nvim')
call add(plugins,['carlitux/deoplete-ternjs', { 'on_ft' : ['javascript']}])
call add(plugins,['carlitux/deoplete-ternjs', { 'on_ft' : ['javascript']}])
else
call add(plugins,['ternjs/tern_for_vim', { 'on_ft' : ['javascript']}])
endif