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 +-- profiles/core/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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?)) diff --git a/profiles/core/configuration.nix b/profiles/core/configuration.nix index 9b72283..545d7fa 100644 --- a/profiles/core/configuration.nix +++ b/profiles/core/configuration.nix @@ -26,7 +26,7 @@ curl pinentry-curses gnused - # gnugrep + gnugrep htop dnsutils iputils -- cgit v1.2.3