vim - 使用 syntastic 的 vim 下的 quickfix 窗口

标签 vim go syntastic

我有以下 vimrc去吧。如果我按 :w 我会得到

比我做的还好 :make

$ vim closure.go 

make: *** No targets specified and no makefile found.  Stop.

Press ENTER or type command to continue
[No write since last change]
# _/home/x
./closure.go:27: undefined: fmt.P
./maps.go:5: main redeclared in this block
    previous declaration at ./closure.go:23
./slices.go:5: main redeclared in this block
    previous declaration at ./maps.go:5

Press ENTER or type command to continue

在按下 ENTER 之后,Vim 看起来是这样的 enter image description here

不幸的是,我没有以下输出enter image description here

我做错了什么?

最佳答案

显然 Syntastic 使用位置列表 (:lwindow) 而不是 quickfix (:cwindow)。

关于vim - 使用 syntastic 的 vim 下的 quickfix 窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15239072/

相关文章:

c++ - Vim Syntastic 显示警告并设置警告级别

unit-testing - 在函数内部的结构上实现接口(interface)

go - 将Go汇编程序翻译为NASM

vim - 如何使用 OCaml 进行语法错误检查?

c - 综合C配置文件

Golang 无法将 XML 映射到结构

vim - 在 vim 中自动完成搜索词

vim - 在 vim 中,为什么 c_ 表现得像 cc?

vim + NERDTree 红色文件名?

vim - 使用 vim 作为编辑器,而使用 emacs 作为代码格式化程序