Skip to content
Discussion options

You must be logged in to vote
opts = {
  picker = {
    sources = {
      lsp_definitions = {
        auto_confirm = true,
        confirm = 'split',
      },

M.confirm = M.jump -- default confirm action
M.split = { action = "confirm", cmd = "split" }
M.vsplit = { action = "confirm", cmd = "vsplit" }
M.tab = { action = "confirm", cmd = "tab" }
M.drop = { action = "confirm", cmd = "drop" }
M.tabdrop = { action = "confirm", cmd = "tabdrop" }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mnarrell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants