fix(nvim): ignore .direnv from Telescope and Git

This commit is contained in:
Oliver Davies 2023-08-29 23:38:21 +01:00
parent 7c566dbe76
commit adcbc6b3de
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@ local lga_actions = require "telescope-live-grep-args.actions"
telescope.setup {
defaults = {
buffer_previewer_maker = new_maker,
file_ignore_patterns = { '.git/' },
file_ignore_patterns = { '.direnv/', '.git/' },
layout_config = {
prompt_position = 'top',
},

View file

@ -115,6 +115,7 @@ in
'';
home.file.".gitignore-global".text = ''
.direnv/
.issue-id
.phpactor.json
'';