summaryrefslogtreecommitdiff
path: root/scratch
diff options
context:
space:
mode:
authorThePrimeAgain <theprimeagain@theprimeagain.com>2026-01-27 15:32:08 -0700
committerThePrimeAgain <theprimeagain@theprimeagain.com>2026-01-27 15:32:08 -0700
commitc043198b25af3282612e07db561c115a802164b2 (patch)
treee165f8efc5a605434f2a75813794018546d12bf0 /scratch
parent17c76bfffb19cae86f7c334a9737962615215339 (diff)
downloada4-c043198b25af3282612e07db561c115a802164b2.tar.xz
a4-c043198b25af3282612e07db561c115a802164b2.zip
removed all lsp errors
Diffstat (limited to 'scratch')
-rw-r--r--scratch/refresh.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/scratch/refresh.lua b/scratch/refresh.lua
index 3f895fd..0b92003 100644
--- a/scratch/refresh.lua
+++ b/scratch/refresh.lua
@@ -1,10 +1,10 @@
+---@diagnostic disable-next-line: undefined-global
R("99")
local _99 = require("99")
local Window = require("99.window")
_99.setup({
completion = {
custom_rules = {
- "~/.behaviors/",
"~/personal/skills/skills",
},
source = "cmp",
@@ -12,8 +12,12 @@ _99.setup({
})
Window.capture_input({
- cb = function(success, result)
+ cb = function(_, _)
print("results")
end,
+ on_load = function()
+ print("on_load")
+ require("99.extensions").setup_buffer(require("99").__get_state())
+ end,
rules = _99.__get_state().rules,
})