summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/editor/trim.fnl2
-rw-r--r--fnl/plugins/editor/trouble.fnl4
-rw-r--r--fnl/settings/options.fnl1
3 files changed, 5 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
+}
diff --git a/fnl/settings/options.fnl b/fnl/settings/options.fnl
index df71c8c..3e0a569 100644
--- a/fnl/settings/options.fnl
+++ b/fnl/settings/options.fnl
@@ -87,6 +87,7 @@
;; Move to new line when reaching the beginning or end.
(vim.opt.whichwrap:append "<,>,[,],h,l")
+(vim.opt.shortmess:append {:C true})
(apply-opts opts)
(set vim.g.mapleader " ")