nvim-telescope / telescope-live-grep-args.nvim

Live grep with args
727 stars 40 forks source link

Change plugin to accept "theme" and "layout_config" through telescope extensions setup #10

Closed alefpereira closed 2 years ago

alefpereira commented 2 years ago

Change plugin to accept configuration through telescope extensions setup like:

local telescope = require 'telescope'
telescope.setup{
  extensions = {
    live_grep_raw = {
      vimgrep_arguments = {...},
      theme = 'dropdown',
      mappings = {i={...}, ...},
      ...
    }
  }
}
telescope.load_extension('live_grep_raw')
alefpereira commented 2 years ago

@weeman1337 just updated README.md with configuration and usage examples, also removed WIP indication. Just waiting for your review. Thanks!

weeman1337 commented 2 years ago

@alefpereira thank you for your contribution. This was blocked by renaming this repo, which is done now.

Can you please update your branch? Parts of it are already implemented now.

weeman1337 commented 2 years ago

Hey @alefpereira :wave: Can you update the branch and see what already has been implemented during other tasks? In not getting feedback for a while I will assume this PR to be obsolete and going to close it.

alefpereira commented 2 years ago

Hi @weeman1337 , sorry I couldn't get this earlier. Already working on the rebase and the changes. Will push it asap. Thanks.

alefpereira commented 2 years ago

Hi @weeman1337 , apart from the "theme" and "layout_config" options, it turns out basically all the change was already there, thanks, nice job with the quoting thing, really liked it btw.

Since this is just about theme now, i'm changing the title and the commit message.

weeman1337 commented 2 years ago

Thanks for the contribution @alefpereira