summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-20 22:08:22 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-20 22:12:00 -0400
commit7e17dfc120860d2e085856cd45a526cd16d67cce (patch)
treeb63ddd23172d8c7336617d9a732295d566cc0100 /vimrc
parenta037f1227765630a7f01c75515117e1511157f7c (diff)
downloadconf-7e17dfc120860d2e085856cd45a526cd16d67cce.tar.gz
conf-7e17dfc120860d2e085856cd45a526cd16d67cce.zip
older versions of ag don't accept -l without an argument
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index cac78da..2b1978d 100644
--- a/vimrc
+++ b/vimrc
@@ -669,7 +669,7 @@ map <silent><Leader>x :Commentary<CR>
autocmd VimEnter * call denite#custom#map('insert', '<Tab>', '<denite:move_to_next_line>')
autocmd VimEnter * call denite#custom#map('insert', '<S-Tab>', '<denite:move_to_previous_line>')
if executable('ag')
- autocmd VimEnter * call denite#custom#var('file_rec', 'command', ['ag', '--hidden', '-l', ''])
+ autocmd VimEnter * call denite#custom#var('file_rec', 'command', ['ag', '--hidden', '-l', '.'])
autocmd VimEnter * call denite#custom#var('grep', 'command', ['ag'])
autocmd VimEnter * call denite#custom#var('grep', 'default_opts', ['--hidden'])
autocmd VimEnter * call denite#custom#var('grep', 'recursive_opts', [])