diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-12 20:47:48 +0000 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-12 20:47:48 +0000 |
| commit | 6f003a121f1688f75b41c8b811031509288dd7ea (patch) | |
| tree | 49fba1c28ddd2ccdcf42448960a4cfb07ce724c9 | |
| parent | 4fcd7d42727e1020abc4543829db31d38db271a0 (diff) | |
fixup
| -rw-r--r-- | mut/neovim/fnl/conf/init.fnl | 3 | ||||
| -rw-r--r-- | 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 |
