From 6f003a121f1688f75b41c8b811031509288dd7ea Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Thu, 12 Oct 2023 20:47:48 +0000 Subject: fixup --- mut/neovim/fnl/conf/init.fnl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mut') diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 3551c3a..bea2f4d 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -83,9 +83,8 @@ last-line (vim.api.nvim_buf_line_count 0)] (do (= lnum last-line)))) + (local is-qf (= (vim.opt_local.buftype:get) "quickfix")) (vim.fn.setqflist [] :a {: id : title : lines}) - (local is-qf? (= (vim.opt_local.buftype:get) "quickfix")) - (P [(not is-qf?) is-at-last-line]) (if (or (not is-qf?) (and is-at-last-line is-qf?)) -- cgit v1.2.3