Merge branch 'master' of git.barakmich.com:/barak/dotfiles
This commit is contained in:
commit
84bc65982f
3 changed files with 26 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue