vim_configurable: add ".../after" plugin dirs to runtimepath
This fixes using e.g. CSApprox when installed with nix.
This commit is contained in:
parent
aff0725a7d
commit
1639429359
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ let
|
|||
let pluginname = substitute(d, ".*/", "", "")
|
||||
if !has_key(seen, pluginname)
|
||||
exec 'set runtimepath^='.d
|
||||
let after = d."/after"
|
||||
if isdirectory(after)
|
||||
exec 'set runtimepath^='.after
|
||||
endif
|
||||
let seen[pluginname] = 1
|
||||
endif
|
||||
endfor
|
||||
|
|
Loading…
Reference in a new issue