SmiteshP / nvim-navbuddy

A simple popup display that provides breadcrumbs feature using LSP server
Apache License 2.0
762 stars 30 forks source link

How to use telescope default theme #60

Closed meijieru closed 1 year ago

meijieru commented 1 year ago

Is there an easy way to use telescope default theme in the telescope action?

SmiteshP commented 1 year ago

You can pass any telescope options during mappings like so

        ["t"] = actions.telescope({         -- Fuzzy finder at current level.
            layout_config = {               -- All options that can be
                height = 0.60,              -- passed to telescope.nvim's
                width = 0.60,               -- default can be passed here.
                prompt_position = "top",
                preview_width = 0.50
            },
            layout_strategy = "horizontal"
        }),
meijieru commented 1 year ago

Sorry, I put the config in the wrong position.