【发布时间】:2015-12-18 03:04:05
【问题描述】:
我安装了 leafgarland-vim 插件,当我保存我的 .ts 文件时,我总是收到以下警告:
我尝试将let g:typescript_compiler_options="--experimentalDecorators" 添加到我的~/.vimrc,并且在第一次输入“:”之后,我还在 vim 中输入了该命令。我什至可以做:echo g:typescript_compiler_options,它返回--experimentalDecorators。然而每次我去保存我都会得到这个错误。
我怎样才能让这个错误消失? --experimentalDecorators 似乎没有完成它的工作。
编辑:
我从 vim 内部试过这个:
:let g:typescript_compiler_options = '--dnwejuidbnwejudbn'
并且代码仍然编译,并带有相同的警告。我不认为 let g:typescript_compiler_options 实际上在做任何事情。
【问题讨论】:
标签: vim plugins typescript tsc