diff options
| author | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-26 15:25:30 -0700 |
|---|---|---|
| committer | ThePrimeAgain <theprimeagain@theprimeagain.com> | 2025-12-26 15:25:30 -0700 |
| commit | 6da68cdb8edea79f721479561ddc8d79e91981fe (patch) | |
| tree | e7e64edd62a76759ba891346a9b7bb3a3670d93d /lua/99/init.lua | |
| parent | 9f82332f402a51c17bb69ca5937d4ba7d8cf004a (diff) | |
| download | a4-6da68cdb8edea79f721479561ddc8d79e91981fe.tar.xz a4-6da68cdb8edea79f721479561ddc8d79e91981fe.zip | |
mid way through refactor when i realize i have another refactor
Diffstat (limited to 'lua/99/init.lua')
| -rw-r--r-- | lua/99/init.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lua/99/init.lua b/lua/99/init.lua index 030a479..1fef9a9 100644 --- a/lua/99/init.lua +++ b/lua/99/init.lua @@ -5,6 +5,7 @@ local Languages = require("99.language") local Window = require("99.window") local geo = require("99.geo") local Range = geo.Range +local get_id = require("99.id") --- @alias _99.Cleanup fun(): nil @@ -97,16 +98,22 @@ local _99 = { } function _99.implement_fn() - ops.implement_fn(_99_state) + local trace_id = get_id() + Logger:debug("99 Request", "method", "implement_fn", "id", trace_id) + ops.implement_fn(_99_state, trace_id) end function _99.fill_in_function() + local trace_id = get_id() + Logger:debug("99 Request", "method", "fill_in_function", "id", trace_id) ops.fill_in_function(_99_state) end function _99.visual() + local trace_id = get_id() local range = Range.from_visual_selection() - ops.query(_99_state, range) + Logger:debug("99 Request", "method", "visual", "id", trace_id) + ops.visual(_99_state, range) end --- View all the logs that are currently cached. Cached log count is determined |
