summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-03-07 22:03:38 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-03-07 22:03:38 +0100
commite6bfb44de9bb6679c57c2f8e432d074acdca54a4 (patch)
tree822feb8ed9b155a211c2904f624d8aa5c0af7460 /fnl
parentbae1361c29ea6d7585ebd412f540a3ba1c81830b (diff)
Update broken plugin configs
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 " ")