aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/toggleterm.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/toggleterm.lua')
-rw-r--r--.config/nvim/lua/plugins/toggleterm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugins/toggleterm.lua b/.config/nvim/lua/plugins/toggleterm.lua
index 024c2f6..5875fc6 100644
--- a/.config/nvim/lua/plugins/toggleterm.lua
+++ b/.config/nvim/lua/plugins/toggleterm.lua
@@ -55,10 +55,10 @@ toggleterm.setup({
},
},
})
-local utils = require("user.utils")
+local mods = require("user.mods")
local float_handler = function(term)
- if not utils.empty(vim.fn.mapcheck('jj', 't')) then
+ if not mods.empty(vim.fn.mapcheck('jj', 't')) then
vim.keymap.del('t', 'jj', { buffer = term.bufnr })
vim.keymap.del('t', '<esc>', { buffer = term.bufnr })
end