Skip to content
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

feat(lsp): add ray-x/lsp_signature.nvim #470

Merged
merged 4 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions lua/astrocommunity/lsp/lsp-signature-nvim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# lsp_signature.nvim

**Repository:** <https://github.com/ray-x/lsp_signature.nvim>

Show function signature when you type.
Juniar-Rakhman marked this conversation as resolved.
Show resolved Hide resolved

Additional hint is visually distracting therefore "hint_enable" option is set to false.
9 changes: 9 additions & 0 deletions lua/astrocommunity/lsp/lsp-signature-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
return {
"neovim/nvim-lspconfig",
dependencies = {
"ray-x/lsp_signature.nvim",
opts = {
hint_enable = false, -- disable hints as it will crash in some terminal
Uzaaft marked this conversation as resolved.
Show resolved Hide resolved
},
},
}