Skip to content

Commit 9aa1de6

Browse files
committed
fix: generate project tags without opts param
1 parent c28d8a8 commit 9aa1de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/haskell-tools/tags.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ local function setup_fast_tags(config)
1919
-- for the project (default: true)
2020
function M.generate_project_tags(path, opts)
2121
path = path or vim.api.nvim_buf_get_name(0)
22-
vim.tbl_extend('force', { refresh = true }, opts or {})
22+
opts = vim.tbl_extend('force', { refresh = true }, opts or {})
2323
local project_root = project_util.match_project_root(path) or vim.fn.getcwd()
2424
if opts.refresh == false and _state.projects[project_root] then
2525
-- project tags already generated

0 commit comments

Comments
 (0)