Skip to content

Commit

Permalink
chore: fix minor inconsistencies in prompt texts
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 5, 2024
1 parent fd52a84 commit f679aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/tinygit/commands/history.lua
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ local function searchHistoryForString(prefill)

-- prompt for a search query
local icon = require("tinygit.config").config.appearance.mainIcon
local prompt = vim.trim(icon .. " Search File History")
local prompt = vim.trim(icon .. " Search file history")
vim.ui.input({ prompt = prompt, default = prefill }, function(query)
if not query then return end -- aborted

Expand Down
3 changes: 2 additions & 1 deletion lua/tinygit/commands/staging/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ end
-- DOCS https://github.com/nvim-telescope/telescope.nvim/blob/master/developers.md
---@param hunks Tinygit.Hunk[]
function M.pickHunk(hunks)
local icon = require("tinygit.config").config.appearance.mainIcon
pickers
.new({}, {
prompt_title = "Git Hunks",
prompt_title = vim.trim(icon .. " Git hunks"),
sorter = telescopeConf.generic_sorter {},

layout_strategy = "horizontal",
Expand Down

0 comments on commit f679aad

Please sign in to comment.