简体   繁体   English

Syntastic 不使用新插件执行语法检查

[英]Syntastic does not perform syntax checks with new plugin

I just added a new plugin (vim-loves-dafny) to my ~/.config/nvim/init.vim file.我刚刚在~/.config/nvim/init.vim文件中添加了一个新插件 (vim-loves-dafny)。 I've got the necessary executables installed.我已经安装了必要的可执行文件。

% which dafny
/usr/local/bin//dafny

But /dafny doesn't find anything in :help syntastic-checkers , and when I edit a Dafny file, I don't get any sort of highlighting.但是/dafny:help syntastic-checkers找不到任何东西,当我编辑 Dafny 文件时,我没有得到任何突出显示。

I'm an idiot and just needed to enable the checker.我是个白痴,只需要启用检查器。

Fixed by adding let g:syntastic_dafny_checkers = ['dafny'] to my config.通过在我的配置中添加let g:syntastic_dafny_checkers = ['dafny']let g:syntastic_dafny_checkers = ['dafny']

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM