aboutsummaryrefslogtreecommitdiff
path: root/fnl/layouts/ide.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/layouts/ide.fnl')
-rw-r--r--fnl/layouts/ide.fnl15
1 files changed, 11 insertions, 4 deletions
diff --git a/fnl/layouts/ide.fnl b/fnl/layouts/ide.fnl
index 8ba6182..10858d5 100644
--- a/fnl/layouts/ide.fnl
+++ b/fnl/layouts/ide.fnl
@@ -1,4 +1,11 @@
-(fn []
-(vim.cmd "ToggleTerm direction=horizontal")
-(vim.cmd "Neotree toggle")
-(vim.cmd "Outline"))
+{
+:enable (fn []
+ (vim.cmd "ToggleTerm direction=horizontal")
+ (vim.cmd "Neotree toggle")
+ (vim.cmd "Outline"))
+
+:disable (fn []
+ (vim.cmd "ToggleTerm direction=horizontal")
+ (vim.cmd "Neotree toggle")
+ (vim.cmd "Outline"))
+}