From 5844d68a740efa6568c5cd975f50bb300e65964f Mon Sep 17 00:00:00 2001 From: Nicolas van Kempen Date: Wed, 10 Jul 2024 13:45:04 -0400 Subject: [PATCH] Update clangd_lsp_integration.py --- src/chatdbg/native_util/clangd_lsp_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chatdbg/native_util/clangd_lsp_integration.py b/src/chatdbg/native_util/clangd_lsp_integration.py index 461929d..046e9f2 100644 --- a/src/chatdbg/native_util/clangd_lsp_integration.py +++ b/src/chatdbg/native_util/clangd_lsp_integration.py @@ -153,7 +153,7 @@ def native_definition(command): return "`clangd` was not found. The `definition` function will not be made available." last_space_index = command.rfind(" ") if last_space_index == -1: - return "`clangd` was not found. The `definition` function will not be made available." + return "usage: definition : " filename_lineno = command[:last_space_index] symbol = command[last_space_index + 1 :] parts = filename_lineno.split(":")