From e6bfb44de9bb6679c57c2f8e432d074acdca54a4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 7 Mar 2023 22:03:38 +0100 Subject: Update broken plugin configs --- fnl/plugins/editor/trim.fnl | 2 +- fnl/plugins/editor/trouble.fnl | 4 +++- fnl/settings/options.fnl | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'fnl') 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 :jt 2 :TroubleToggle :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 " ") -- cgit v1.2.3-70-g09d2