From 68cfba135f34a5a57e2c6e257aeadca32acfbdea Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Wed, 10 Aug 2022 10:41:40 +0200 Subject: [PATCH] chore(nvim): add wildignore options --- nvim/lua/kogakure/options.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nvim/lua/kogakure/options.lua b/nvim/lua/kogakure/options.lua index 6899ef9..fbca296 100644 --- a/nvim/lua/kogakure/options.lua +++ b/nvim/lua/kogakure/options.lua @@ -62,9 +62,12 @@ end -- Add dashes to words vim.opt.iskeyword:append("-") --- Don"t delete the word, but put a $ to the end till exit the mode +-- Don’t delete the word, but put a $ to the end till exit the mode vim.opt.cpoptions:append("$") +-- Wildignore +vim.opt.wildignore:append({ "*/node_modules/*" }) + vim.opt.path:append("**") vim.opt.complete:append({ "i", "k", "s", "kspell" })