fix: set tagstack when we jump with lsp in telescope (#1887)

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
dagle
2022-05-18 19:59:12 +02:00
committed by GitHub
parent 01fc5a9274
commit 3cc44f8f05
4 changed files with 16 additions and 3 deletions

View File

@@ -47,6 +47,7 @@ lsp.references = function(opts)
previewer = conf.qflist_previewer(opts),
sorter = conf.generic_sorter(opts),
push_cursor_on_edit = true,
push_tagstack_on_edit = true,
}):find()
end)
end
@@ -93,6 +94,8 @@ local function list_or_jump(action, title, opts)
},
previewer = conf.qflist_previewer(opts),
sorter = conf.generic_sorter(opts),
push_cursor_on_edit = true,
push_tagstack_on_edit = true,
}):find()
end
end)
@@ -154,6 +157,7 @@ lsp.document_symbols = function(opts)
sorter = conf.generic_sorter(opts),
},
push_cursor_on_edit = true,
push_tagstack_on_edit = true,
}):find()
end)
end