Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
fix(#164): Update the require condition to check for toggleterm.nvim …
Browse files Browse the repository at this point in the history
…in the built-in runner and compiler

           Update the toggleterm url in the docs
  • Loading branch information
joalon authored and NTBBloodbath committed Oct 17, 2021
1 parent 66bb549 commit 5c4148d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/doom_nvim.norg
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
- `SPC - o - t` (only `NORMAL` mode!)
- `<F4>`

Check [nvim-toggleterm.lua repository](https://github.com/akinsho/nvim-toggleterm.lua) for more information.
Check [toggleterm.nvim repository](https://github.com/akinsho/toggleterm.nvim) for more information.

*** Minimap
Doom Nvim uses `wfxr/minimap.vim` plugin as its minimap. It can be toggled by
Expand Down
2 changes: 1 addition & 1 deletion lua/doom/modules/built-in/compiler/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
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 5c4148d

Please sign in to comment.