summaryrefslogtreecommitdiff
path: root/lua/99
diff options
context:
space:
mode:
authortheprimeagain <the.primeagen@gmail.com>2026-02-07 19:39:45 -0700
committertheprimeagain <the.primeagen@gmail.com>2026-02-07 19:39:45 -0700
commit489e132d4aec29970e0981ee12252d3925ad49c3 (patch)
treeac2ae9ef2723e8f4daf2ccafec3d45eb8daf5e74 /lua/99
parente341ecf0a2eea90e2948f620903bfc51cbcaac9c (diff)
downloada4-489e132d4aec29970e0981ee12252d3925ad49c3.tar.xz
a4-489e132d4aec29970e0981ee12252d3925ad49c3.zip
chore: lint and format
Diffstat (limited to 'lua/99')
-rw-r--r--lua/99/init.lua8
-rw-r--r--lua/99/ops/search.lua2
-rw-r--r--lua/99/prompt-settings.lua3
-rw-r--r--lua/99/test/request_status_spec.lua2
4 files changed, 11 insertions, 4 deletions
diff --git a/lua/99/init.lua b/lua/99/init.lua
index 35ee85d..2340065 100644
--- a/lua/99/init.lua
+++ b/lua/99/init.lua
@@ -341,11 +341,15 @@ function _99.visual_prompt(opts)
end
function _99.fill_in_function()
- error("function has been removed. Just use visual. I really hate fill in function, sorry :)")
+ error(
+ "function has been removed. Just use visual. I really hate fill in function, sorry :)"
+ )
end
function _99.fill_in_function_prompt()
- error("function has been removed. Just use visual. I really hate fill in function, sorry :)")
+ error(
+ "function has been removed. Just use visual. I really hate fill in function, sorry :)"
+ )
end
--- @param opts _99.ops.Opts?
diff --git a/lua/99/ops/search.lua b/lua/99/ops/search.lua
index dff4abf..aa3d08a 100644
--- a/lua/99/ops/search.lua
+++ b/lua/99/ops/search.lua
@@ -1,5 +1,7 @@
--- @param context _99.RequestContext
---@param opts _99.ops.SearchOpts
return function(context, opts)
+ _ = context
+ _ = opts
error("search not implemented")
end
diff --git a/lua/99/prompt-settings.lua b/lua/99/prompt-settings.lua
index 295254f..45f46dd 100644
--- a/lua/99/prompt-settings.lua
+++ b/lua/99/prompt-settings.lua
@@ -27,7 +27,8 @@ X = how many lines should be highlighted
<Rule>Each location is separated by new lines</Rule>
<Rule>Each path is specified in absolute pathing</Rule>
<Example>
-You have found 3 locations in files foo.js, bar.js, and baz.js. There are 2 locations in foo.js, 1 in bar.js and baz.js.
+You have found 3 locations in files foo.js, bar.js, and baz.js.
+There are 2 locations in foo.js, 1 in bar.js and baz.js.
<Output>
/path/to/project/src/foo.js:24:8,3
/path/to/project/src/foo.js:71:12,7
diff --git a/lua/99/test/request_status_spec.lua b/lua/99/test/request_status_spec.lua
index 4009cf9..74301b2 100644
--- a/lua/99/test/request_status_spec.lua
+++ b/lua/99/test/request_status_spec.lua
@@ -35,7 +35,7 @@ describe("request_status", function()
return #calls == 1
end)
eq(1, #calls)
- eq({ "⠹ TITLE", }, calls[1])
+ eq({ "⠹ TITLE" }, calls[1])
calls = {}
status:push("bar")