···142142 config = function()
143143 local _99 = require("99")
144144145145+ -- SSP: Workaround: Ensure tmp directory exists (plugin bug - should create automatically)
146146+ local tmp_dir = vim.uv.cwd() .. "/tmp"
147147+ if vim.fn.isdirectory(tmp_dir) == 0 then
148148+ vim.fn.mkdir(tmp_dir, "p")
149149+ end
150150+145151 -- For logging that is to a file if you wish to trace through requests
146152 -- for reporting bugs, i would not rely on this, but instead the provided
147153 -- logging mechanisms within 99. This is for more debugging purposes
···157163 --- A new feature that is centered around tags
158164 completion = {
159165 --- Defaults to .cursor/rules
160160- cursor_rules = "<custom path to cursor rules>"
166166+ cursor_rules = "<custom path to cursor rules>",
161167162168 --- A list of folders where you have your own agents
163169 custom_rules = {
···168174 --- support cmp right now
169175 source = "cmp",
170176171171- }
177177+ },
172178173179 --- WARNING: if you change cwd then this is likely broken
174180 --- ill likely fix this in a later change
···208214 --- Create a rule file like ~/.rules/debug.md that defines custom behavior.
209215 --- For instance, a "debug" rule could automatically add printf statements
210216 --- throughout a function to help debug its execution flow.
217217+211218 vim.keymap.set("n", "<leader>9fd", function()
212219 _99.fill_in_function()
213220 end)