Ignore certain patterns in wildmenu

This commit is contained in:
ItsDrike 2021-12-09 01:16:50 +01:00
parent cff3a5e70a
commit b504f10f28
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -36,6 +36,14 @@ o.listchars = {tab = " ", trail = "·"} -- Specify which characters to sh
o.wildmode = {"longest", "list", "full"} -- Enable autocompletion
o.wildmenu = true -- Display all matching files when we tab complete
table.insert(o.path, "**") -- Search down into subfolders with tab completion
o.wildignore = vim.tbl_extend( -- Ignore certain files/folders in wildmenu
"force", o.wildignore, {
"*.pyc", "*_build/*",
"**/coverage/*", "**/node_modules/*",
"**/android/*", "**/ios/*",
"**/.git/*",
}
)
-- Files
o.encoding = "utf-8" -- Use UTF-8 encoding