mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Ignore certain patterns in wildmenu
This commit is contained in:
parent
cff3a5e70a
commit
b504f10f28
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue