1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00

fix(lua): fix lua logger api

This commit is contained in:
wsdjeg 2022-01-03 16:30:05 +08:00
parent b12d1890d3
commit 0bcec61d0d

View File

@ -1,4 +1,6 @@
local M = {} local M = {}
-- should use local val
local fn = nil
if vim.fn == nil then if vim.fn == nil then
fn = require('spacevim').fn fn = require('spacevim').fn