mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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
@ -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 New Issue
Block a user