From c1247216f27fa2941a1db51c1a161a8abb5f581b Mon Sep 17 00:00:00 2001 From: luozhiya Date: Wed, 16 Oct 2024 17:28:51 +0800 Subject: [PATCH] match case --- lua/fittencode/chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/fittencode/chat.lua b/lua/fittencode/chat.lua index 1082a0d..a6e7f9b 100644 --- a/lua/fittencode/chat.lua +++ b/lua/fittencode/chat.lua @@ -121,10 +121,10 @@ local function resolve_variables_internal(v, tm) ['selected-text-with-diagnostics'] = function() return dse.get_selected_text_with_diagnostics({ diagnostic_severities = t.severities }) end, - ['error_message'] = function() + ['errorMessage'] = function() return ul.get_diagnose_info() end, - ['error_location'] = function() + ['errorLocation'] = function() return ul.get_error_location() end, ['title-selected-text'] = function()