1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

Fix coffeescript api sys dependency (#4343)

Co-authored-by: Andrew Angelo Ang <andrew.ang@cybersoftbpo.com>
This commit is contained in:
Andrew Angelo Ang 2021-07-24 08:10:29 +08:00 committed by GitHub
parent 46346dd719
commit e6cb9e9003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,10 +38,10 @@ if exists('s:coffee_interpreter')
finish
endif
let s:coffee_interpreter = 'coffee' . (s:SYS.isWindows ? '.CMD' : '')
let s:SYS = SpaceVim#api#import('system')
let s:coffee_interpreter = 'coffee' . (s:SYS.isWindows ? '.CMD' : '')
function! SpaceVim#layers#lang#coffeescript#plugins() abort
let plugins = []
call add(plugins, ['wsdjeg/vim-coffeescript', {'on_ft' : 'coffee'}])