Load typescript only if it exists

Fix #56
This commit is contained in:
Eduardo San Martin Morote
2017-03-14 18:50:14 +01:00
parent b60c475d42
commit 81ada6a73f

View File

@@ -25,7 +25,7 @@ if !exists("s:syntaxes")
return syntaxes
endfunction
let s:syntaxes = s:search_syntaxes('pug', 'slm', 'coffee', 'stylus', 'sass', 'scss', 'less')
let s:syntaxes = s:search_syntaxes('pug', 'slm', 'coffee', 'stylus', 'sass', 'scss', 'less', 'typescript')
endif