mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-11 08:17:02 +00:00
Set local directory before building the templates.
This commit is contained in:
@@ -7,6 +7,8 @@ let s:curdir = fnamemodify(resolve(expand('<sfile>: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'
|
||||
|
||||
Reference in New Issue
Block a user