我已经在vim中安装了Syntastic插件,但无法正常工作。我尝试过
我该如何知道发生了什么?当我从vim中调用Syntastic时,它没有显示错误。第一个错误(在我的
我在我的.vimrc中有以下内容:
:SyntasticEnable
,但没有成功。在我的vimrc中使用SyntasticEnable python
也不起作用(实际上,它甚至不能解析该命令,在我尝试将其添加到我的.vimrc
时会显示错误:Not an editor command: SyntasticEnable python
)。我该如何知道发生了什么?当我从vim中调用Syntastic时,它没有显示错误。第一个错误(在我的
.vimrc
中的not and editor command
)是否表示我不知道的某些内容?我在我的.vimrc中有以下内容:
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_enable_signs=1
let g:syntastic_auto_loc_list=1
我在~/.vim/syntax_checkers
中有一个名为python.vim
的文件。我已经可以使用Pyflakes来检查Python文件,它运行得非常好,但是我希望在开发应用程序时,能够在其他文件/扩展中使用Syntastic功能。