1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 07:09:11 +08:00

chore(lua): add comment about lua package path

This commit is contained in:
wsdjeg 2022-03-29 21:48:33 +08:00
parent f454a0ac51
commit b53538deda

1
vimrc
View File

@ -10,6 +10,7 @@
if 1
let g:_spacevim_if_lua = 0
if has('lua')
" add ~/.SpaceVim/lua to lua package path
if has('win16') || has('win32') || has('win64')
let s:plugin_dir = fnamemodify(expand('<sfile>'), ':h').'\lua'
let s:str = s:plugin_dir . '\?.lua;' . s:plugin_dir . '\?\init.lua;'