1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 18:50:03 +08:00
SpaceVim/config/plugins/vim-rooter.vim
2017-12-25 23:08:08 +08:00

5 lines
204 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