all repos

init.lua @ 27c174c

my nvim config
2 files changed, 2 insertions(+), 14 deletions(-)
added ignore pattern for nvimtree, telescope
Author: neoteny ss2316544@gmail.com
Committed at: 2021-11-10 17:53:03 +0200
Parent: b107a2e
M lua/plugin/nvimtree.lua

@@ -9,7 +9,6 @@ hijack_netrw = true,

auto_close = true, auto_open = true, update_cwd = false, - ignore_ft_on_setup = { ".git", "node_modules" }, diagnostics = { enable = true, icons = {

@@ -21,7 +20,7 @@ },

}, filters = { dotfiles = true, - custom = {}, + custom = { ".git", "node_modules", "__pycache__", "env", ".bin" }, }, view = { width = 30,

@@ -40,12 +39,6 @@ }

vim.g.nvim_tree_gitignore = 1 vim.g.nvim_tree_root_folder_modifier = ":t" - - --[[ - vim.g.nvim_tree_ignore = { ".git", "node_modules", ".cache", ".bin" } - vim.g.nvim_tree_gitignore = 1 - vim.g.nvim_tree_hide_dotfiles = 1 - vim.g.nvim_tree_git_hl = 1]] end return M
M lua/plugin/telescope.lua

@@ -19,12 +19,7 @@ prompt_position = "top",

horizontal = { mirror = false }, vertical = { mirror = false }, }, - vimgrep_arguments = { - "fd", - "--colors=never", - "--type=f", - }, - file_ignore_patterns = { ".git", "node_modules", "target", "env", ".bin" }, + file_ignore_patterns = { ".git", "node_modules", "__pycache__", "target", "env", ".bin" }, path_display = { shorten = 5 }, winblend = 0, border = {},