-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lsp] Add Swift / SourceKit-LSP support #2420
[lsp] Add Swift / SourceKit-LSP support #2420
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add in a test for the linter executable and command. Then we can test that the linter will be loaded okay. See :help ale-tests
and look at some existing tests for examples. Otherwise, this looks pretty good to me. 👍
Thanks for the feedback @w0rp! I updated with some additional tests based off some existing examples. (Coincidentally after trying to run |
Cheers! 🍻 |
One thing I forgot, which you can add now, is add the new linter to the list of supported tools in Markdown and in the Vim help file. |
Swift LSP Support
This adds LSP support for Swift via the recently announced/open-source SourceKit-LSP.
Addresses #2147 (Thanks @TaDaa for the initial work on the fork — this is based on your original work.)
Tasks: