Skip to content

Commit

Permalink
style: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejboczar committed Jan 23, 2025
1 parent 2320415 commit 93cb5ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ require('possession').setup {
load = { n = '<c-v>', i = '<c-v>' },
delete = { n = '<c-t>', i = '<c-t>' },
rename = { n = '<c-r>', i = '<c-r>' },
grep = { n = '<c-g>', i = '<c-g>' },
find = { n = '<c-f>', i = '<c-f>' },
},
},
},
Expand Down
8 changes: 4 additions & 4 deletions lua/possession/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ local session_actions = {
end,
grep = function(prompt_buf, entry, refresh)
actions.close(prompt_buf)
require('telescope.builtin').live_grep({
require('telescope.builtin').live_grep {
cwd = entry.value.cwd,
prompt_title = ('Live Grep (%s)'):format(entry.value.name),
})
}
end,
find = function(prompt_buf, entry, refresh)
actions.close(prompt_buf)
require('telescope.builtin').find_files({
require('telescope.builtin').find_files {
cwd = entry.value.cwd,
prompt_title = ('Find Files (%s)'):format(entry.value.name),
})
}
end,
}

Expand Down

0 comments on commit 93cb5ef

Please sign in to comment.