summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor')
-rw-r--r--fnl/plugins/editor/trim.fnl2
-rw-r--r--fnl/plugins/editor/trouble.fnl4
2 files changed, 4 insertions, 2 deletions
diff --git a/fnl/plugins/editor/trim.fnl b/fnl/plugins/editor/trim.fnl
index 7f224bc..0c0082f 100644
--- a/fnl/plugins/editor/trim.fnl
+++ b/fnl/plugins/editor/trim.fnl
@@ -1,3 +1,3 @@
;; Trim whitespaces on save.
-{1 :cappyzawa/trim.nvim :event :BufFilePre :opts {:disable [:python]}}
+{1 :cappyzawa/trim.nvim :event :BufFilePre :opts {:ft_blocklist [:python]}}
diff --git a/fnl/plugins/editor/trouble.fnl b/fnl/plugins/editor/trouble.fnl
index 5c989de..49100c4 100644
--- a/fnl/plugins/editor/trouble.fnl
+++ b/fnl/plugins/editor/trouble.fnl
@@ -79,5 +79,7 @@
})
{1 :folke/trouble.nvim
+ :cmd [:Trouble :TroubleToggle]
:keys [{1 :<leader>jt 2 :<cmd>TroubleToggle<cr> :desc :Trouble}]
- : opts}
+ : opts
+}