1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:30:04 +08:00
SpaceVim/config/plugins/vim-rooter.vim
2017-12-26 22:16:52 +08:00

6 lines
253 B
VimL

let g:rooter_patterns = get(g:, 'rooter_patterns', ['.git', '.git/', '_darcs/', '.hg/', '.bzr/', '.svn/'])
if index(g:spacevim_plugin_groups, 'lang#c') != -1
call add(g:rooter_patterns, '.clang')
endif
call add(g:rooter_patterns, '.projections.json')