summaryrefslogtreecommitdiff
path: root/fnl/config/toggleterm.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/toggleterm.fnl')
-rw-r--r--fnl/config/toggleterm.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/config/toggleterm.fnl b/fnl/config/toggleterm.fnl
index 329964c..2a1a462 100644
--- a/fnl/config/toggleterm.fnl
+++ b/fnl/config/toggleterm.fnl
@@ -1,6 +1,6 @@
;; Terminal inside nvim.
(module config.toggleterm
- {autoload {: util nvim aniseed.nvim autocmd config.autocmd}})
+ {autoload {:util :config.util nvim aniseed.nvim autocmd config.autocmd}})
(def- opts {:size 16 :shade_terminals false})
@@ -10,7 +10,7 @@
(nvim.set_keymap :t :<C-k> "<Cmd>wincmd k<CR>" {})
(nvim.set_keymap :t :<C-l> "<Cmd>wincmd l<CR>" {}))
-(util.use-config :toggleterm opts)
+(util.setup :toggleterm opts)
(autocmd.create-autocmd :TermOpen
{:pattern "term://*toggleterm#*"
:callback set-terminal-keymaps})