Merge branch 'master' of git.barakmich.com:/barak/dotfiles

This commit is contained in:
Barak Michener 2021-10-28 14:28:18 -07:00
commit 84bc65982f
3 changed files with 26 additions and 4 deletions

View file

@ -168,9 +168,11 @@ local dropdown = require'telescope.themes'.get_dropdown({
--winblend = 10
})
git_live_grep = function(conf)
local opt = dropdown
opt.cwd = vim.fn.systemlist("git rev-parse --show-toplevel")[1]
live_grep_repo = function(conf)
--local opt = dropdown
local opt = {
cwd = vim.fn.systemlist("git rev-parse --show-toplevel")[1]
}
for k,v in pairs(conf) do opt[k] = v end
builtin.live_grep(opt)
end