简体   繁体   English

在Windows 8.0 Powershell中将Syntastic插件与vim一起使用

[英]Using syntastic plugin with vim in Windows 8.0 Powershell

I've recently been using the Windows 8.0 Powershell package manager program called "scoop" (see https://github.com/lukesampson/scoop for more details), which is based off of Mac's HomeBrew. 我最近一直在使用Windows 8.0 Powershell软件包管理器程序,称为“ scoop”(有关更多详细信息,请参阅https://github.com/lukesampson/scoop ),该程序基于Mac的HomeBrew。 I have installed Vim (7.4) with this tool. 我已经使用该工具安装了Vim(7.4)。 I am trying to make use of a vim syntax highlighting plugin called syntastic (see https://github.com/scrooloose/syntastic ), since vim as it is currently installed on my machine does not seem to recognize Go language syntax. 我正在尝试使用称为syntastic的vim语法高亮插件(请参阅https://github.com/scrooloose/syntastic ),因为当前安装在我的计算机上的vim似乎无法识别Go语言语法。 However, I am not sure where to start in terms of integrating this plugin with Vim. 但是,我不确定从将此插件与Vim集成的角度出发。 Scoop installs Vim with a plugin sub directory...the directory path on my computer would be: Scoop使用插件子目录安装Vim ...我计算机上的目录路径为:

~\\AppData\\Local\\scoop\\apps\\vim\\7.4\\plugin 〜\\ AppData \\ Local \\ scoop \\ apps \\ vim \\ 7.4 \\ plugin

I've tried cloning the syntastic repository into the plugin directory, but the Go syntax is still not recognized. 我尝试将合成存储库克隆到插件目录中,但仍无法识别Go语法。

I do not want to install vim as a separate IDE, because I prefer working within the shell (the same way vim integrates with a Cygwin terminal). 我不想将vim作为单独的IDE安装,因为我更喜欢在shell中工作(vim与Cygwin终端集成的方式相同)。 Is there possibly another plugin I should try using all together? 是否有可能我应该尝试同时使用另一个插件?

Thank you very much for any info/ time put into answering this question. 非常感谢您提供任何信息/时间来回答这个问题。

Commentor Icdc047 threw me in the right direction. 评论员Icdc047使我朝着正确的方向前进。
see: https://github.com/fatih/vim-go 参见: https : //github.com/fatih/vim-go

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

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