From f56bcce60fa40b53c2ca751e31efd9c7e350013b Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 3 Jul 2022 15:29:16 +0800 Subject: [PATCH] fix(a.lua): fix undifinded value fn --- lua/spacevim/plugin/a.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/spacevim/plugin/a.lua b/lua/spacevim/plugin/a.lua index ef94430c0..52ab30df6 100644 --- a/lua/spacevim/plugin/a.lua +++ b/lua/spacevim/plugin/a.lua @@ -15,6 +15,7 @@ local sp_file = require('spacevim.api').import('file') local sp_opt = require('spacevim.opt') local sp_json = require('spacevim.api').import('data.json') local logger = require('spacevim.logger').derive('a.vim') +local fn = vim.fn or require('spacevim').fn local alternate_conf = {} alternate_conf['_'] = '.project_alt.json'