From f005ce541335fb936a85e9997513e94067ef07ae Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 6 Jan 2024 00:15:05 +0100 Subject: Remove and conditional --- fnl/aktersnurra.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fnl/aktersnurra.fnl b/fnl/aktersnurra.fnl index 43fdcbb..dfb4f50 100644 --- a/fnl/aktersnurra.fnl +++ b/fnl/aktersnurra.fnl @@ -4,7 +4,7 @@ path (.. (vim.fn.stdpath :config) :/fnl/plugins)] (each [fname (vim.fs.dir path)] (let [fname (fname:match "^(.*)%.fnl$")] - (if (and (not= fname nil)) + (if (not= fname nil) (table.insert plugins (require (.. :plugins. fname)))))) (table.insert plugins (require :plugins.lsp)) plugins)) -- cgit v1.2.3-70-g09d2