Skip to content

Commit

Permalink
cleanup: remove debug statemetns
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Oct 13, 2024
1 parent 42a1f6e commit 4b76eda
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lua/care/presets/components.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ function components.KindName(entry, use_kind_color, highlight_group)
local entry_kind = type(completion_item.kind) == "string" and completion_item.kind
or require("care.utils.lsp").get_kind_name(completion_item.kind)
local preset_utils = require("care.presets.utils") or require("care.utils.lsp").get_kind_name(completion_item.kind)
print(use_kind_color and preset_utils.kind_highlight(entry, "fg") or highlight_group or "@care.entry")
print(entry_kind)
return {
{ entry_kind, use_kind_color and preset_utils.kind_highlight(entry, "fg") or highlight_group or "@care.entry" },
}
Expand Down
2 changes: 0 additions & 2 deletions scripts/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ local function read_classes(path)
for i, class_string in ipairs(class_strings) do
local class_desc =
table.concat(vim.split(class_string:match("%-%-%- (.-)\n%-%-%-@class") or "", "\n%-%-%- "), "\n")
print(class_desc)
local class_name = class_string:match("%-%-%-@class (.-)\n")
local fields_string = class_string:match(".-%-%-%-@class .-\n(.*)")
local fields = { { descriptions = {} } }
Expand Down Expand Up @@ -142,7 +141,6 @@ local function get_class_docs(path, title, desc, mark_optionals, write_types)
if write_types == nil then
write_types = true
end
print(write_types)
mark_optionals = mark_optionals or false
local classes = read_classes(path)
local contents = {
Expand Down

0 comments on commit 4b76eda

Please sign in to comment.