clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

99 AI

sspaeti 09ccc31d ba2aeab2

+9 -2
+9 -2
nvim/.config/nvim/lua/sspaeti/plugins/ai.lua
··· 142 142 config = function() 143 143 local _99 = require("99") 144 144 145 + -- SSP: Workaround: Ensure tmp directory exists (plugin bug - should create automatically) 146 + local tmp_dir = vim.uv.cwd() .. "/tmp" 147 + if vim.fn.isdirectory(tmp_dir) == 0 then 148 + vim.fn.mkdir(tmp_dir, "p") 149 + end 150 + 145 151 -- For logging that is to a file if you wish to trace through requests 146 152 -- for reporting bugs, i would not rely on this, but instead the provided 147 153 -- logging mechanisms within 99. This is for more debugging purposes ··· 157 163 --- A new feature that is centered around tags 158 164 completion = { 159 165 --- Defaults to .cursor/rules 160 - cursor_rules = "<custom path to cursor rules>" 166 + cursor_rules = "<custom path to cursor rules>", 161 167 162 168 --- A list of folders where you have your own agents 163 169 custom_rules = { ··· 168 174 --- support cmp right now 169 175 source = "cmp", 170 176 171 - } 177 + }, 172 178 173 179 --- WARNING: if you change cwd then this is likely broken 174 180 --- ill likely fix this in a later change ··· 208 214 --- Create a rule file like ~/.rules/debug.md that defines custom behavior. 209 215 --- For instance, a "debug" rule could automatically add printf statements 210 216 --- throughout a function to help debug its execution flow. 217 + 211 218 vim.keymap.set("n", "<leader>9fd", function() 212 219 _99.fill_in_function() 213 220 end)