Skip to content

Commit

Permalink
.vimrc: drop some project root patterns pending airblade/vim-rooter#124
Browse files Browse the repository at this point in the history
Disable specific project root patterns (Makefile, package.json) that are
liable to appear below toplevel and confuse vim-rooter, until we gain
the ability to choose between BFS and DFS semantics.
  • Loading branch information
intelfx committed Oct 16, 2024
1 parent c58f0db commit d7f8302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ let g:snipMate = { 'snippet_version' : 1 }
let g:rooter_change_directory_for_non_project_files = 'current'
let g:rooter_cd_cmd = 'lcd'
let g:rooter_ignore = 1
" HACK for kernel sources: do not anchor on Makefile if this dir has Kconfig
" (thus do not treat kernel subdirs as roots; we will still anchor on .git)
let g:rooter_patterns = ['.git', '_darcs', '.hg', '.bzr', '.svn', '!Kconfig', 'Makefile', 'package.json']
" Disable patterns that can appear below toplevel, pending airblade/vim-rooter#124
" let g:rooter_patterns = ['.git', '_darcs', '.hg', '.bzr', '.svn', 'Makefile', 'package.json']
let g:rooter_patterns = ['.git', '_darcs', '.hg', '.bzr', '.svn']
let g:rooter_targets = ['/', $HOME .. '/*']

" configure vifm.vim #1
Expand Down

0 comments on commit d7f8302

Please sign in to comment.