summaryrefslogtreecommitdiff
path: root/scratch
diff options
context:
space:
mode:
authorThePrimeAgain <theprimeagain@theprimeagain.com>2026-01-15 13:07:03 -0700
committerThePrimeAgain <theprimeagain@theprimeagain.com>2026-01-15 13:07:03 -0700
commitf12763a215a88bd52ebe1052b10679d1d706aa24 (patch)
tree6826d26ce0fef6f6c67db54010224e218e117360 /scratch
parentded9c0560ccf3c58b11247bf2c1a37d19ee34600 (diff)
downloada4-f12763a215a88bd52ebe1052b10679d1d706aa24.tar.xz
a4-f12763a215a88bd52ebe1052b10679d1d706aa24.zip
working through fill in function with prompt and additional rules
Diffstat (limited to 'scratch')
-rw-r--r--scratch/custom_rules/vim.md2
-rw-r--r--scratch/refresh.lua26
2 files changed, 19 insertions, 9 deletions
diff --git a/scratch/custom_rules/vim.md b/scratch/custom_rules/vim.md
index e69de29..f3a6435 100644
--- a/scratch/custom_rules/vim.md
+++ b/scratch/custom_rules/vim.md
@@ -0,0 +1,2 @@
+whenever you write any lua code that is meant to be executed in vim
+add 1 print statement per line of code describing the next code
diff --git a/scratch/refresh.lua b/scratch/refresh.lua
index a1b6c63..6963876 100644
--- a/scratch/refresh.lua
+++ b/scratch/refresh.lua
@@ -1,15 +1,23 @@
+--[[
local Window = require("99.window")
Window.clear_active_popups()
R("99")
local Ext = require("99.extensions")
+local Agents = require("99.extensions.agents")
local _99 = require("99")
-_99.setup({
- completion = {
- source = "cmp",
- custom_rules = {
- "scratch/custom_rules"
- }
- }
-})
-Ext.setup_buffer(_99.__get_state())
+
+local function attach()
+ Ext.setup_buffer(_99.__get_state())
+end
+attach()
+
+]]
+
+local Ext = require("99.extensions")
+local _99 = require("99")
+
+local function attach()
+ Ext.setup_buffer(_99.__get_state())
+end
+attach()