Skip to content

Phase 5: LSP Enhancements & Inlay Hints#12

Merged
asielcabrera merged 1 commit into
mainfrom
feature/lsp-enhancements
May 3, 2026
Merged

Phase 5: LSP Enhancements & Inlay Hints#12
asielcabrera merged 1 commit into
mainfrom
feature/lsp-enhancements

Conversation

@asielcabrera
Copy link
Copy Markdown
Contributor

Implements Phase 5 of the swift.nvim 2.0 Roadmap. Improves the LSP integration for modern Neovim versions: Inlay hints now activate automatically for Neovim 0.10+ after attaching sourcekit-lsp. Adds :SwiftToggleInlayHints global command. Fixes deprecated vim.lsp.get_active_clients call.

- Guards inlay hint activation with vim.fn.has('nvim-0.10') check
- Adds toggle_inlay_hints() function with clear on/off notification
- Adds global :SwiftToggleInlayHints command
- Adds :SwiftTelescopeSchemes and :SwiftTelescopeTargets to main commands
- Fixes deprecated vim.lsp.get_active_clients() -> vim.lsp.get_clients()
@asielcabrera asielcabrera force-pushed the feature/lsp-enhancements branch from 76fe56a to f619bcc Compare May 3, 2026 20:13
@asielcabrera asielcabrera merged commit 483f95f into main May 3, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant