Skip to content

Commit

Permalink
fix: error launching telescope via require("telescope").extensions.te…
Browse files Browse the repository at this point in the history
…rraform_doc.terraform_doc() (#27)
  • Loading branch information
ANGkeith authored Jan 29, 2024
1 parent e234a2f commit 0ebfcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/_extensions/terraform_doc/builtin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local M_opts = require("telescope._extensions.terraform_doc.config").opts
local M = {}

function M.search(opts)
opts = vim.tbl_extend("keep", opts, M_opts)
opts = vim.tbl_extend("keep", opts or {}, M_opts)

if not opts.full_name then
M.providers(opts)
Expand Down

0 comments on commit 0ebfcd3

Please sign in to comment.