Swift and Vim


(alex) #1

Hi all,

Firstly, I’d like to thank those that added support for Swift in vim in the
public repo.

1. I am wondering if anyone knows how to pull only the vim plugin so it can
be used with plugin managers like Vundle/neobundle/etc.?

(I’ve read about git sparse checkout but it’s definitely not clear if this
would work and I haven’t been able to get anything out of it).

In case there’s no option, I’m wondering if it would be possible to split
this under its own repo?

2. While I know Xcode is the recommended tool for working with Swift, I’m
wondering if anyone is aware of any attempts of making the integration for
vim smarter (code completion, etc.).

thanks in advance

:- alex


(John Regner) #2

Hi alex,

I think the vim plugin in the Swift repo is no longer being maintained. https://github.com/keith/swift.vim/issues/73

I think the handful of us using Vim with swift have been using Keith Smiley’s Swift.vim you can install it with your current vim plugin manager.

If you are attempting to build Xcode project you can use https://github.com/gfontenot/vim-xcode to connect to the xcodebuild command line tool.

Would be great if this could be integrated with SourceKit for autocomplete, future work. I know the emacs folks are having some success with integrating SourceKit https://github.com/nathankot/company-sourcekit.

Hope this helps,

John

···

Hi all,

Firstly, I’d like to thank those that added support for Swift in vim in the public repo.

1. I am wondering if anyone knows how to pull only the vim plugin so it can be used with plugin managers like Vundle/neobundle/etc.?

(I’ve read about git sparse checkout but it’s definitely not clear if thiswould work and I haven’t been able to get anything out of it).

In case there’s no option, I’m wondering if it would be possible to split this under its own repo?

2. While I know Xcode is the recommended tool for working with Swift, I’m wondering if anyone is aware of any attempts of making the integration for vim smarter (code completion, etc.).

thanks in advance

:- alex_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users