Skip to content

Commit 22b0343

Browse files
committed
Remove some logging statements
1 parent db3c77d commit 22b0343

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

lua/eca/completion/cmp/commands.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ end
6666

6767
---@diagnostic disable-next-line: unused-local
6868
source.complete = function(self, _, callback)
69-
local logger = require("eca.logger")
7069
-- Only complete if we're typing a command (starts with /)
7170
local line = vim.api.nvim_get_current_line()
7271
local query = get_query(line)
@@ -78,7 +77,6 @@ source.complete = function(self, _, callback)
7877
if self.cache[bufnr] and self.cache[bufnr][query] then
7978
callback({ items = self.cache[bufnr][query], isIncomplete = false })
8079
else
81-
logger.debug("not cached")
8280
query_server_commands(query, function(items)
8381
callback({
8482
items = items,

lua/eca/completion/cmp/context.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
local Logger = require("eca.logger")
21
local cmp = require("cmp")
32
---@param context eca.ChatContext
43
---@return lsp.CompletionItem
@@ -44,9 +43,7 @@ local function query_server_contexts(query, callback)
4443
end
4544

4645
eca.server:send_request("chat/queryContext", { query = query }, function(err, result)
47-
Logger.debug("chat/queryContext query " .. vim.inspect({ query = query }))
4846
if err then
49-
Logger.debug("chat/queryContext err: " .. err)
5047
callback({})
5148
return
5249
end

0 commit comments

Comments
 (0)