Skip to content

Commit

Permalink
vim_configurable: add ".../after" plugin dirs to runtimepath
Browse files Browse the repository at this point in the history
This fixes using e.g. CSApprox when installed with nix.

(cherry picked from commit 1639429)
  • Loading branch information
bjornfor committed Aug 3, 2017
1 parent 34aa9a6 commit 1454628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/editors/vim/configurable.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1454628

Please sign in to comment.