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
config/neovim/lua/opdavies/telescope
system/shared

View file

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

View file

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