From 9547cc6437a8b2b4cc89c5e8d4fc0475af573075 Mon Sep 17 00:00:00 2001 From: Lifepillar Date: Sat, 11 Nov 2017 11:27:51 +0100 Subject: [PATCH] Set local directory before building the templates. --- templates/make_colorschemes.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/make_colorschemes.vim b/templates/make_colorschemes.vim index 917fdc2..01a7770 100644 --- a/templates/make_colorschemes.vim +++ b/templates/make_colorschemes.vim @@ -7,6 +7,8 @@ let s:curdir = fnamemodify(resolve(expand(':p')), ':h') let s:parent = fnamemodify(s:curdir, ':h') let s:errors = 0 +execute 'lcd' s:curdir + for s:template in glob(s:curdir . '/*.colortemplate', 1, 1) let s:template_name = fnamemodify(s:template, ':t:r') if s:template_name == 'solarized8_dark'