summaryrefslogtreecommitdiff
path: root/signature-help.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-29 13:44:25 -0500
committerpommicket <pommicket@gmail.com>2022-12-29 13:44:25 -0500
commitca6617873e15abce0641c426f56047202e68b457 (patch)
tree174804dbe556fa5a265e454689c9043ebb3eaac8 /signature-help.c
parent6e6b407550db47d3f9c85875c0f69444cf640796 (diff)
hover-enabled option
Diffstat (limited to 'signature-help.c')
-rw-r--r--signature-help.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/signature-help.c b/signature-help.c
index 1db8104..97dc8c3 100644
--- a/signature-help.c
+++ b/signature-help.c
@@ -14,7 +14,7 @@ static void signature_help_clear(SignatureHelp *help) {
void signature_help_send_request(Ted *ted) {
SignatureHelp *help = &ted->signature_help;
Settings *settings = ted_active_settings(ted);
- if (!settings->signature_help) {
+ if (!settings->signature_help_enabled) {
signature_help_clear(help);
return;
}
@@ -57,7 +57,7 @@ void signature_help_close(Ted *ted) {
void signature_help_process_lsp_response(Ted *ted, const LSPResponse *response) {
Settings *settings = ted_active_settings(ted);
- if (!settings->signature_help) return;
+ if (!settings->signature_help_enabled) return;
if (response->request.type != LSP_REQUEST_SIGNATURE_HELP)
return;
@@ -95,7 +95,7 @@ void signature_help_process_lsp_response(Ted *ted, const LSPResponse *response)
void signature_help_frame(Ted *ted) {
Settings *settings = ted_active_settings(ted);
- if (!settings->signature_help)
+ if (!settings->signature_help_enabled)
return;
SignatureHelp *help = &ted->signature_help;