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
|
||||
" Handle local files
|
||||
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
|
||||
return l:fd
|
||||
endfunction
|
||||
|
|
Loading…
Reference in a new issue