Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

theme option not working #6

Closed
CleoMenezesJr opened this issue Nov 11, 2023 · 1 comment · Fixed by #7
Closed

theme option not working #6

CleoMenezesJr opened this issue Nov 11, 2023 · 1 comment · Fixed by #7

Comments

@CleoMenezesJr
Copy link

CleoMenezesJr commented Nov 11, 2023

For some reason unknown to me, all telescope extensions work with the theme option, except telescope-cc.
Everything in the extension seems to work as it should, except this option.

This is my configuration:

{
  defaults = {
        ...
  },

  extensions = {
        fzf = {
          fuzzy = true,
          override_generic_sorter = true,
          override_file_sorter = true,
          case_mode = "smart_case",
        },
        conventional_commits = {
          theme = "dropdown",
          action = function()
            local actions = require "telescope._extensions.conventional_commits.actions"
            return actions.prompt
          end,
          include_body_and_footer = true,
        },
        ["ui-select"] = {
          require("telescope.themes").get_dropdown {},
        },
        file_browser = {
          theme = "dropdown",
          hijack_netrw = true,
        },
  },
}

Edit: It works fine running :Telescope conventional_commits theme=dropdown

@olacin-dd
Copy link
Contributor

Hey @CleoMenezesJr, this should have been fixed in #7.

Feel free to give it a try, I'll be closing this in a few days. 😄

@olacin olacin linked a pull request Nov 24, 2023 that will close this issue
@olacin olacin closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants