Skip to content

Commit

Permalink
fix(doom-neovim#164): In the built-in runner, update the require cond…
Browse files Browse the repository at this point in the history
…ition to check for toggleterm.nvim
  • Loading branch information
joalon committed Oct 14, 2021
1 parent fb0e6c5 commit c0bf432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/doom/modules/built-in/runner/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local log = require("doom.extras.logging")
local term

if package.loaded["toggleterm"] then
if packer_plugins and packer_plugins["toggleterm.nvim"] then
term = require("toggleterm.terminal").Terminal
else
log.error(
Expand Down

0 comments on commit c0bf432

Please sign in to comment.