about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-23 17:03:15 +0900
committersefidel <contact@sefidel.net>2024-08-23 17:03:15 +0900
commitfc29da335facafdb3ee38a9318b17d34d6bfa611 (patch)
treede7253a30d1ced5c9293747dcc4031ce7d2d1029
parent84c5ab8a8dd0720cb9f915cd0197772bd200a61f (diff)
downloadnvimrc-fc29da335facafdb3ee38a9318b17d34d6bfa611.tar.gz
nvimrc-fc29da335facafdb3ee38a9318b17d34d6bfa611.zip
fix(packs/lint): append to args table instead of replacing them
* fixes codespell returning results for other files
-rw-r--r--fnl/nvrc/packs/lint.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/nvrc/packs/lint.fnl b/fnl/nvrc/packs/lint.fnl
index 9f600b3..c84aa58 100644
--- a/fnl/nvrc/packs/lint.fnl
+++ b/fnl/nvrc/packs/lint.fnl
@@ -2,7 +2,7 @@
                 : au!} :nvrc.macro.event)
 (local nvim-lint (require :lint))
 
-(set nvim-lint.linters.codespell.args [:--builtin=clear])
+(table.insert nvim-lint.linters.codespell.args :--builtin=clear)
 (tset nvim-lint :linters_by_ft {:nix [:nix]})
 
 (ag! nvim-lint