Skip to content

Commit

Permalink
update chars used in debug command
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Mar 20, 2024
1 parent 68da729 commit dd1e7ad
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lua/obsidian/commands/debug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ return function(client, data)
log.lazy_info("Obsidian.nvim v%s (%s)", VERSION, info.commit or "unknown commit")

log.lazy_info "Status:"
log.lazy_info(" buffer directory: %s", client.buf_dir)
log.lazy_info(" working directory: %s", Path.cwd())
log.lazy_info(" buffer directory: %s", client.buf_dir)
log.lazy_info(" working directory: %s", Path.cwd())

log.lazy_info "Workspaces:"
log.lazy_info(" ✓ active workspace: %s", client.current_workspace)
Expand All @@ -28,22 +28,22 @@ return function(client, data)
for _, plugin in ipairs { "plenary.nvim", "nvim-cmp", "telescope.nvim", "fzf-lua", "mini.pick" } do
local plugin_info = util.get_plugin_info(plugin)
if plugin_info ~= nil then
log.lazy_info(" %s: %s", plugin, plugin_info.commit or "unknown")
log.lazy_info(" %s: %s", plugin, plugin_info.commit or "unknown")
end
end

log.lazy_info "Integrations:"
log.lazy_info(" picker: %s", client:picker())
log.lazy_info(" completion: %s", client.opts.completion.nvim_cmp and "enabled (nvim-cmp)" or "disabled")
log.lazy_info(" picker: %s", client:picker())
log.lazy_info(" completion: %s", client.opts.completion.nvim_cmp and "enabled (nvim-cmp)" or "disabled")

log.lazy_info "Tools:"
log.lazy_info(" rg: %s", util.get_external_dependency_info "rg" or "not found")
log.lazy_info(" rg: %s", util.get_external_dependency_info "rg" or "not found")

log.lazy_info "Environment:"
log.lazy_info(" operating system: %s", util.get_os())
log.lazy_info(" operating system: %s", util.get_os())

log.lazy_info "Config:"
log.lazy_info(" notes_subdir: %s", client.opts.notes_subdir)
log.lazy_info(" notes_subdir: %s", client.opts.notes_subdir)

log.flush { raw_print = data.raw_print }
end

0 comments on commit dd1e7ad

Please sign in to comment.