You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/content/docs/recipes/advanced_lsp.mdx
+3-96
Original file line number
Diff line number
Diff line change
@@ -711,108 +711,15 @@ return {
711
711
712
712
## Automatic Signature Help
713
713
714
-
:::tip
715
-
716
-
This is available in the [AstroCommunity](https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/recipes/astrolsp-auto-signature-help)
Some users may want to have automatic pop ups of function signatures while editing with a language server. Using a combination of AstroCore and AstroLSP we can build a robust system for managing the signature help and automatically triggering it when necessary. Here is an in depth example:
714
+
Some users may want to have automatic pop ups of function signatures while editing with a language server similar to that of functionality provided by [`noice.nvim`](https://github.com/folke/noice.nvim) and [`lsp_signature.nvim`](https://github.com/ray-x/lsp_signature.nvim). By default this behavior is disabled, but can easily be enabled by modifying `features.signature_help` in the AstroLSP `opts`:
728
715
729
716
```lua title="lua/plugins/signature_help.lua"
730
717
return {
731
718
"AstroNvim/astrolsp",
732
-
specs= {
733
-
{
734
-
"AstroNvim/astrocore",
735
-
---@typeAstroCoreOpts
736
-
opts= {
737
-
autocmds= {
738
-
signature_help_triggers= {
739
-
{
740
-
event="LspAttach",
741
-
desc="Add signature help triggers as language servers attach",
0 commit comments