Local config: don't add suppress.* files to list
This commit is contained in:
parent
cecf48ba67
commit
29bb260417
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,10 @@ function! GetConfigFiles(base,pattern)
|
||||||
endfor
|
endfor
|
||||||
" Handle local files
|
" Handle local files
|
||||||
for lcf in glob( g:vim_local_path . "/" . a:base . "/" . a:pattern , 1 , 1 )
|
for lcf in glob( g:vim_local_path . "/" . a:base . "/" . a:pattern , 1 , 1 )
|
||||||
let l:fd[ fnamemodify( l:lcf , ":t" ) ] = l:lcf
|
let name = fnamemodify( l:lcf , ":t" )
|
||||||
|
if name !~ "^suppress\\."
|
||||||
|
let l:fd[ l:name ] = l:lcf
|
||||||
|
endif
|
||||||
endfor
|
endfor
|
||||||
return l:fd
|
return l:fd
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in a new issue