feat(swift): switch pack.swift
to xcodebuild.nvim
and ditch xbase
altogether
#669
Closed
andreacfromtheapp
started this conversation in
Ideas
Replies: 2 comments 9 replies
-
We should instead have a structure such that one has:
|
Beta Was this translation helpful? Give feedback.
9 replies
-
moved XBase to plugin but the category fails because pack.swift should be removed imho, unless #670 works as a solution (I know that opinionated is wrong, but here it seems necessary. else pack.swift to have treesitter only, doens't seem ideal. unless I'm missing something. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Swift Lang Pack support and changes
Regarding { import = "astrocommunity.pack.swift" }, and official Swift Lang support.
Given
I suggest
xbase
altogether in favor ofxcodebuild
and only support the latter going forward.Notes
I've opened a line of communication with @wojciech-kulik to implement some changes to peruse more native tooling. He likes my advice so far. I plan to contribute more. As I implement these
pack.swift
changes, I will keep the line open as I go.@wojciech-kulik provides an example starter for nvim and I'm going to integrate as much as possible here, striking a balance to what the original tool suggests and leveraging AstroNvim native tools (or configurations).
Swift support
In the meantime the following will suffice to use
sourcekit-lsp
,swiftlint
, andswiftformat
(orswift_format
) as a temporary measure.Conclusion
Any feedback appreciated, but I'm going to implement this anyway. The only doubt to clear would be if AstroCommunity needs two Swift packs or a good one only.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions