Skip to content

Commit

Permalink
Move cmake generation into async part (#171)
Browse files Browse the repository at this point in the history
Co-authored-by: jlafferton <[email protected]>
  • Loading branch information
jla2000 and jlafferton authored Nov 15, 2023
1 parent 56b4c34 commit 4b965b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmake-tools/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1440,9 +1440,9 @@ function cmake.select_cwd(cwd_path)
--if new_path:is_dir() then
config.cwd = vim.fn.resolve(input)
-- end
cmake.generate({ bang = false, fargs = {} }, nil)
end)
)
cmake.generate({ bang = false, fargs = {} }, nil)
elseif cwd_path.args then
config.cwd = vim.fn.resolve(cwd_path.args)
cmake.generate({ bang = false, fargs = {} }, nil)
Expand Down

0 comments on commit 4b965b5

Please sign in to comment.