summaryrefslogtreecommitdiff
path: root/lua/telescope/make_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/telescope/make_entry.lua')
-rw-r--r--lua/telescope/make_entry.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index bf0287c..917b6f8 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -330,6 +330,7 @@ end
function make_entry.gen_from_lsp_symbols(opts)
opts = opts or {}
+
local bufnr = opts.bufnr or vim.api.nvim_get_current_buf()
local display_items = {
@@ -932,6 +933,7 @@ end
function make_entry.gen_from_lsp_diagnostics(opts)
opts = opts or {}
+
local lsp_type_diagnostic = vim.lsp.protocol.DiagnosticSeverity
local signs